Hardware Reference
In-Depth Information
B at full speed
delay(2000);
digitalWrite(brakeA, HIGH);
digitalWrite(brakeB, HIGH);
delay(1000);
Once you have uploaded the code, the program should run in a loop. If you want to run
your robot without connection to the computer, place batteries into the battery holder, dis-
connect the USB cable connecting Arduino to the computer, and then press the RESET
button. Your robot can move all by itself!
Search WWH ::




Custom Search