Run 2 TLS together, code?

55 views
Skip to first unread message

Magnus Vier

unread,
Apr 11, 2015, 3:13:24 PM4/11/15
to tlc5940...@googlegroups.com
So, my question is how do i control multiple? Sorry if it is kind of a noob question...
In the code i have added by GreatScott!, tries Scott to make a matrix display. In his code it is following:
#include "Tlc5940.h"  //don't forget to download the Tlc5940 lib from arduino playground ( http://tlc5940arduino.googlecode.com/files/Tlc5940_r014_2.zip )
#define RowOne 8      //Gate of 1.MOSFET which connects to Row "a" (anodes of all LEDs in Row "a")
#define RowTwo 7      //Gate of 2.MOSFET which connects to Row "b" (anodes of all LEDS in Row "b")
#define RowThree 6    //Gate of 3.MOSFET which connects to Row "c" (anodes of all LEDs in Row "c")
#define RowFour 5     //Gate of 4.MOSFET which connects to Row "d" (anodes of all LEDs in Row "d")
#define RowFive 4     //Gate of 5.MOSFET which connects to Row "e" (anodes of all LEDs in Row "e")

my question is: How can i define a pin to be on the second TLC?, and not the first.
function.ino
ledmatrix.ino
definition.ino
Reply all
Reply to author
Forward
0 new messages