User Manual
Table Of Contents
- Guide Contents
- Overview
- Assembly
- Solder on Headers and Terminal Block
- Powering Motors
- Voltage requirements:
- Current requirements:
- Power it up
- Installing Software
- Enable I2C
- Python Installation of MotorKit Library
- Using DC Motors
- Connecting DC Motors
- Controlling DC Motors
- Full Example Code
- Using Stepper Motors
- Connecting Stepper Motors
- Controlling Stepper Motors
- Stepping
- Full Example Code
- Python Docs
- Stacking HATs
- Addressing the HATs
- Stacking in Code
- Downloads
- Files
- Schematic
- Fabrication Print

"""Simple test for using adafruit_motorkit with a DC motor"""
import time
from adafruit_motorkit import MotorKit
kit = MotorKit()
kit.motor1.throttle = 1.0
time.sleep(0.5)
kit.motor1.throttle = 0
© Adafruit Industries
https://learn.adafruit.com/adafruit-dc-and-stepper-motor-hat-for-raspberry-
pi
Page 19 of 31










