Hi all, I im a newbie with this.I have an Arduino mini pro, I want to assign different pins from 2,3,5, there is no #4 pin, I want some leds to blink at different intervals, but when I assign different pins they dont seem to blink the way I want them to. can you see this code I uploaded? does it look correct.
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(5, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(500); it will start here
digitalWrite(2, LOW);
delay(500);
digitalWrite(3, HIGH);
delay(500);
digitalWrite(3, LOW); then here
delay(500);
digitalWrite(5, HIGH);
delay(50);
digitalWrite(5, LOW);
delay(50); finish here and start from the top again.
digitalWrite(5, HIGH); thats not what im looking for. This is why
delay(50); assinged different pins on the Arduino mini.
digitalWrite(5, LOW); could you help. I would like all leds to work
delay(50); separately.
}