Lab_interaccio/2019/CCCB-cap/Test_leds/Test_leds.ino
2025-02-25 21:29:42 +01:00

23 lines
362 B
C++

//#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:
}