23 lines
362 B
Arduino
23 lines
362 B
Arduino
|
|
||
|
//#include <Wire.h>
|
||
|
//#include <Adafruit_CAP1188.h>
|
||
|
|
||
|
int PWM[8] = { 1, 0, 13, 12, 11, 9, 6, 5 };
|
||
|
|
||
|
void setup() {
|
||
|
|
||
|
for(int i=0 ; i<8 ; i++)
|
||
|
{
|
||
|
pinMode(PWM[i], OUTPUT);
|
||
|
digitalWrite(PWM[i], HIGH);
|
||
|
}
|
||
|
|
||
|
// Initialize the sensor, if using i2c you can pass in the i2c address
|
||
|
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
// put your main code here, to run repeatedly:
|
||
|
|
||
|
}
|