Chapter 5 examples

This commit is contained in:
Danny Staple
2021-12-07 21:34:30 +00:00
parent 4cdabd2403
commit 1f9e6b8f91
20 changed files with 311 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import time
import robot
try:
robot.set_left(1.0)
robot.set_right(0.5)
time.sleep(1)
finally:
robot.stop()