Chapter 5 examples
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
import time
|
||||
import robot
|
||||
|
||||
robot.motor_A2.value = True
|
||||
robot.motor_B2.value = True
|
||||
time.sleep(0.3)
|
||||
robot.motor_A2.value = False
|
||||
robot.motor_B2.value = False
|
||||
Reference in New Issue
Block a user