Pages: [1]   Go Down
Author Topic: Tlc5940 lighting in pairs  (Read 360 times)
0 Members and 1 Guest are viewing this topic.
Madison WI
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Automating life, one step at a time.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Madison WI
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Automating life, one step at a time.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

}

Thats all.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

}

Thats all.

OK. What about a circuit schematic.
Logged

Madison WI
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Automating life, one step at a time.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Pages: [1]   Go Up
Jump to: