Group: http://groups.google.com/group/toasted-circuits-lightuino/topics
"Mauricio Gómez" <maurici...@gmail.com> Sep 02 12:00PM -0500 ^
Hi Andrew
I wired up the matrix like this:
[image: la foto.JPG]
this is a 4x4 RGB LED matrix with common anode, there are 4 rows which are
the anodes, and 12 columns which are the cathodes. The anodes are connected
to the source drivers pins, and the cathodes are connected to the sink
drivers pins.
I commented some functions on the "begin_here5"sketch at the loop
function and uncommented the MatrixDemo() function. I loaded the sketch just
like that to the board
[image: Captura de pantalla 2011-09-02 a las 11.05.58.png]
At the serial monitor I had this:
[image: Captura de pantalla 2011-09-02 a las 11.03.30.png]
But nothing happened, the LED matrix still turned off all the time.
Is there something that I'm doing wrong?
Can you write a little sketch example?
Thanks
________________________
Ing. Mauricio Gómez
Hardware Developer
hackerspacecholula.org
2011/8/19 <toasted-circuits-...@googlegroups.com>
Andrew Stone <g.andre...@gmail.com> Sep 02 02:42PM -0400 ^
Hi Mauricio,
Nice PCB! Is that homemade? But first let's verify it. I verify my matrix
by turning the Lightuino entirely on and then touching pins.
In the begin_here5 sketch add this function:
void AllOn(void)
{
sources.set(0xffff);
sinks.set(0xffffffff,0xffffffff,B00111111);
}
And add a new loop that only calls that function:
void loop()
{
AllOn();
mydelay(10000);
}
Now take any sink pin and connect it to the cathode side and any source pin
and connect it to an anode side. One LED should light!
If it does not light the problem is probably in your matrix (since I test
all sources and sinks before I ship you the board). You'll have to use a
multimeter to figure out the issue.
If it works, I'd recommend testing all LEDs. Wire up every cathode (sink)
and then touch jumpers from the Lightuino source pin to each anode. All
should light.
Cheers!
Andrew
2011/9/2 Mauricio Gómez <maurici...@gmail.com>