void setup() {
// put your setup code here, to run once:
pinMode(1,OUTPUT);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
for(int x=1;x<7;x++){
digitalWrite(x-1,LOW);
delay(50);
digitalWrite(x,HIGH);
}