Esempio n. 1
0
from mx_lib import mxBot
mx_bot = mxBot()

speed = 10

while (1):
    mx_bot.motor(speed, speed)
Esempio n. 2
0
from mx_lib import mxBot
chai_bot = mxBot()
speed = 10

while (1):
    left, right = chai_bot.getEncode()
    chai_bot.motor(10, 10)
    print(left, right)