April 2017
Beginner to intermediate
312 pages
7h 23m
English
The dependencies for the motor driver libraries may be installed from the command-line terminal of your Raspberry Pi Zero as follows (you may skip this step if you installed these tools while working on Chapter 4, Communication Interfaces):
sudo apt-get update sudo apt-get install python3-dev python3-smbus
The next step is cloning the motor driver library:
git clone https://github.com/sai-y/Adafruit-Motor-HAT-Python- Library.git
The library can be installed as follows:
cd Adafruit-Motor-HAT-Python-Library sudo python3 setup.py install
Now that the libraries are installed, let's write ...
Read now
Unlock full access