Right. I'm sat here with a PICAXE28X1 a switch power and some very individualy minded LED's.
I'm just testing a 2X2 grid of LED's using 4 pins. There are 16 combinations of on and off for a 2X2 grid and I've got it set up to do one each time a press a switch. I've got a circuit set so I'm using output pins 0-3. The LED's are connected as follows:
1. pin3, pin0
2. pin3, pin1
3. pin2, pin0
4. pin2, pin1
(LED no. Negative, Positive)
When I (try to) put LED 2 I do this:
high 1
high 2
low 3
The voltages at each pin are as follows:
0 = 0V
1 = 0.61V
2 = 1.32v
3 = 0.10v
The shock is that LED2 comes on and so does LED4! This means Light Emiting DIODE 4 works backwards!? When I turn it around it shines exactly the same yet when hooked up to a battery one way then the other I get the expected result.
Any Ideas?
I'm just testing a 2X2 grid of LED's using 4 pins. There are 16 combinations of on and off for a 2X2 grid and I've got it set up to do one each time a press a switch. I've got a circuit set so I'm using output pins 0-3. The LED's are connected as follows:
1. pin3, pin0
2. pin3, pin1
3. pin2, pin0
4. pin2, pin1
(LED no. Negative, Positive)
When I (try to) put LED 2 I do this:
high 1
high 2
low 3
The voltages at each pin are as follows:
0 = 0V
1 = 0.61V
2 = 1.32v
3 = 0.10v
The shock is that LED2 comes on and so does LED4! This means Light Emiting DIODE 4 works backwards!? When I turn it around it shines exactly the same yet when hooked up to a battery one way then the other I get the expected result.
Any Ideas?