bool gauche;
bool droit;
void setup() {
// put your setup code here, to run once:
DRDD=B11111111;
PORTD=B00000001;
gauche=true;
}
void loop() {
// put your main code here, to run repeatedly:
if gauche
digitalWrite(PORTD);
PORTD=PORTD<<1;
delay(1000);
}