mirror of
https://github.com/alankrantas/microbit-micropython-cookbook.git
synced 2026-01-07 21:02:12 +01:00
Update rc_car.py
This commit is contained in:
@@ -18,6 +18,8 @@ motor_right_B.write_digital(0)
|
|||||||
motor_left_A.write_digital(0)
|
motor_left_A.write_digital(0)
|
||||||
motor_left_B.write_digital(0)
|
motor_left_B.write_digital(0)
|
||||||
|
|
||||||
|
display.show(Image.SQUARE)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
direction = radio.receive()
|
direction = radio.receive()
|
||||||
if direction == None:
|
if direction == None:
|
||||||
|
|||||||
Reference in New Issue
Block a user