Hi, how do I address indiviudal LED's using a tlc5947 with an arduino mega. I have LED's plugged into pin 14,11,5, and 7 on the tlc5947. I have plugged DIN into pin 24, CLK into pin 25 and LAT into 26 on the mega and have changed those constants in the arduino code example
I tried doing this in the draw loop:
tlc.setLed(14,4095,0,0);
tlc.write();
However it isn't working. Also , these are regular LED's, NOT rgb ones.
Address individual LED's using tlc5947?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- abhi3188
- Posts: 39
- Joined: Tue Sep 09, 2014 9:49 pm
Re: Address individual LED's using tlc5947?
I have also tried this:
tlc.setPWM(14,4095);
tlc.write();
This does not work either on the monochrome single color LED. The board however shows it's green indicator light so I presume it is being powered correctly.
tlc.setPWM(14,4095);
tlc.write();
This does not work either on the monochrome single color LED. The board however shows it's green indicator light so I presume it is being powered correctly.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Address individual LED's using tlc5947?
Do you have the right LED polarity?
The TLC5947 is a low-side LED driver. You connect the LED's anode to VCC and its cathode to the TCL5947 pin. The pin opens a controlled current path to GND when the LED is supposed to come on.
The TLC5947 is a low-side LED driver. You connect the LED's anode to VCC and its cathode to the TCL5947 pin. The pin opens a controlled current path to GND when the LED is supposed to come on.
Please be positive and constructive with your questions and comments.