fixed bug with initialization of i2c option

simple_control
Simon Pirkelmann 2020-01-12 16:11:58 +01:00
parent aab1b78e8f
commit c1b7640d03
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import machine
import sys
from machine import I2C, Pin
i2c = True
i2c = False
if i2c:
import d1motor
else:
@ -100,5 +100,5 @@ class Robot:
del comm_socket
del socket
wall_e = Robot()
wall_e = Robot(i2c=i2c)
wall_e.remote_control()