Page 1 of 1

What will happen if we modify the code, change the delay(1000) to delay(2000)? (Arduino) void loop() { forward(); //go

Posted: Mon Jul 11, 2022 9:56 am
by answerhappygod
What will happen if we modify the code, change the delay(1000)to delay(2000)? (Arduino)
void loop() {
forward(); //goforward
delay(1000);//delay 1000 ms
back(); //go back
delay(1000);
left(); //turning left
delay(1000);
right(); //turning right
delay(1000);
}