Go Down

Topic: Tlc5940 lighting in pairs (Read 480 times) previous topic - next topic

Techman_360

Hi!
So, I started a project, and I've been playing with a few tlc5940's. I have a problem. The outputs are operating in sequential pairs.

When I send and update Tlc.set(0, 4095), channels 0 and 1 both light.

When I send and update Tlc.set(1, 4095), channels 2 and 3 both light.

...and so on and so forth. there literally is nothing else in my code except the tlc.set command and tlc.update. I have checked my breadboard for shorts and have checked for any crossed wires... nothing. Also, even when using the BasicUse program it does the same thing... Any help would be appreciated!

boylesg


Hi!
So, I started a project, and I've been playing with a few tlc5940's. I have a problem. The outputs are operating in sequential pairs.

When I send and update Tlc.set(0, 4095), channels 0 and 1 both light.

When I send and update Tlc.set(1, 4095), channels 2 and 3 both light.

...and so on and so forth. there literally is nothing else in my code except the tlc.set command and tlc.update. I have checked my breadboard for shorts and have checked for any crossed wires... nothing. Also, even when using the BasicUse program it does the same thing... Any help would be appreciated!


Show us the code you have in your void loop() function.

Techman_360

Code: [Select]
void loop()
{
  Tlc.set(0, 4095);
  Tlc.update();

}


Thats all.

boylesg


Code: [Select]
void loop()
{
  Tlc.set(0, 4095);
  Tlc.update();

}


Thats all.


OK. What about a circuit schematic.

Techman_360

Figured it out... I had the DCPROG run to ground instead of 5v... switched it and works normally.
Lesson learned - Work in a well lit area. Thank you for the response!

Go Up