Address individual LED's using tlc5947?

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
abhi3188
 
Posts: 39
Joined: Tue Sep 09, 2014 9:49 pm

Address individual LED's using tlc5947?

Post by abhi3188 »

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.

User avatar
abhi3188
 
Posts: 39
Joined: Tue Sep 09, 2014 9:49 pm

Re: Address individual LED's using tlc5947?

Post by abhi3188 »

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.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Address individual LED's using tlc5947?

Post by adafruit_support_mike »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”