I'm doing a circuit on a breadboard with arduino pro micro.
I'll publish photos with the circuit.
The code is made to blink 3 different blocks of leds. I think the code is correct... the problem maybe the board or the circuit???
I can't tell for sure but it looks like the LEDs are backwards. Look for a flat on the base of the LED. That side goes to ground. Or the long leg goes on the positive side.
But now I'm facing another problem: I'll upload a vídeo (can't... to big).
First, only the red was blinking, but than the yellow starts...
Green doesn't run...
Than yellow stops again.
And the red stop blinking but lightning!
And all of them are with the same code???
int LED1=2; //Declaring LED1 as an int, and set it to 2
int LED2=3; //Declaring LED1 as an int, and set it to 3
int LED3=4; //Declaring LED2 as an int, and set it to 3
int LED1onTime=100; //This is LED1 Led ontime
int LED1offTime=100; //This is LED1 Led offtime
int LED2onTime=100; //This is LED2 Led ontime
int LED2offTime=100; //This is LED2 Led offtime
int LED3onTime=100; //This is LED3 Led ontime
int LED3offTime=100; //This is LED3 Led offtime
int numLED1Blink=3; //Number of times to Blink LED1