User Manual
Each of these are adafruit_motor.motor (https://adafru.it/BNE) type objects for the curious
To make our code easier to read, we'll make new names for each motor:
Control Motor
Now that we have our motor objects, we can simply assign the throttle, this will set the direction and speed. For
example, to set the speed to full forward, use motor_1.throttle = 1 and to set to full speed backward use
motor_1.throttle = -1 . For speeds in between, use a fraction, such as 0.5 (half speed) or 0.25 (quarter speed).
Setting the throttle = 0 will stop the motor.
# make two variables for the motors to make code shorter to type
motor_1 = crickit.dc_motor_1
motor_2 = crickit.dc_motor_2
© Adafruit Industries
https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-
construction-kit
Page 99 of 201










