Go Down

Topic: Manual for controlling each channel of the Adafruit 12-Channel 16-bit PWM LED Dr (Read 445 times) previous topic - next topic

1.   Make sure that you have installed the Adafruit Libraryhttps://github.com/adafruit/Adafruit_TLC59711
2. See the code and try to understand it .
3. Copy and Paste the example provided by Adafruit https://github.com/adafruit/Adafruit_TLC59711/tree/master/examples/tlc59711test
4. If you have only one board change the number 2 to 1 in the question:
//How many board do you have chained?
5. In void loop()
Delete all except the first line.
6. In void colorWipe(uint16_t r, uint16_t g, uint16_t b, uint8_t wait)
Just leave:

tlc.setLED(i, r, g, b);

tlc.write();


Questions?
Hope it helps.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy