These are the basic commands to install all the required libraries, tools and i2c stuff.
All details can also be found in the Adafruit Manual.
apt-get install python3-smbus i2c-tools git python3-dev python3-pip pip3 install setuptools raspi-config # Advanced Options to enable I2C git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git cd Adafruit-Motor-HAT-Python-Library python3 setup.py install
Attribute | Value |
---|---|
Stepper Board | Stepper Motor HAT for Raspberry Pi from adafruit.com |
Motors | Stepper motor, 200 steps/rev, 4-wire, 12V fromadafruit.com |