void setup() { pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); } void loop() { int dtime = 100; digitalWrite(2, HIGH); delay(dtime); digitalWrite(2, LOW); digitalWrite(3, HIGH); delay(dtime); digitalWrite(3, LOW); digitalWrite(4, HIGH); delay(dtime); digitalWrite(4, LOW); digitalWrite(5, HIGH); delay(dtime); digitalWrite(5, LOW); }