Hi everyone, first of all I'm a newbie, I have repased the manual of the MAX and the arduino diagram, I have searched all the entries before post this topic but I can't resolve the problem. The fact it's that I connected the MAX to a single led and a arduino and I upload a test code, but the led is always on, I changed his position on the MAX pins and it still continue to be on, so I understood that the code use position 0,0 for nothing. I have made the circuit with capacitors and without, the clock, data and cs are in the correct pins (12,11,10). If I disconect power or GND it still on but with lower intensity. I have also read problems with common anode/cathodes but I'm making the test with one led and no with the matrix (It can be the same problem?).
Here is the code
#include <LedControl.h>
//LedControl(int dataPin, int clkPin, int csPin, int numDevices);
int cs_pin = 10; //PIN 12 DEL CONTROLADOR
int data_pin = 11; //PIN 1 DEL CONTROLADOR
int clk_pin = 12; //PIN 13 DEL CONTROLADOR
LedControl lc=LedControl(data_pin,clk_pin,cs_pin,1);
void setup() {
lc.shutdown(0,false);
lc.clearDisplay(0);
}
void loop() {
lc.setLed(0,0,0,true); // Turn on the matrix row 0, col 0
delay(1000); // wait a bit
lc.setLed(0,0,0,false); // Turn on the matrix row 0, col 0
delay(1000); // wait a bit while its off
}
Here you have some photos (The cap is because the led has 6500mcd and I can't make the circuit with this swithed on all time
Any idea? I know maybe it's a very stupid thing but I didn't found. Thanks.