21from machine
import I2C, Pin
23bus = I2C(0, scl=Pin(5), sda=Pin(4))
43mc.set_max_acceleration(1, 140)
44mc.set_max_deceleration(1, 300)
47mc.set_max_acceleration(2, 200)
48mc.set_max_deceleration(2, 300)
51mc.set_max_acceleration(3, 80)
52mc.set_max_deceleration(3, 300)
55 if time.ticks_ms() & 2048:
Represents an I2C connection to a Pololu Motoron Motor Controller.