Timed Moves in Python

Intermediate

Use `time.sleep()` to give each motor move a precise duration. Chain forward, turn, and backward moves to drive a square path, then store the move sequence in a list for easy editing.

20 min5 steps
MotorsTimedListsMovementIntermediate
0 of 5 steps

Step 1 of 5

Connect your board

Power on your Beaver Board — the OLED will show a PIN code. Click Connect in the toolbar, choose Connect via Bluetooth, and select your board. If it's your first time, enter the PIN shown on the screen.

Place the robot on the floor before running.