Motor Driver HAT
【Note】If you get errors information after running demo code, please modify the
modules file as below:
sudo nano /etc/mdoules
Append these statements to the end and save:
i2c-dev
i2c-bcm2708
DOWNLOAD DEMO CODE
Demo code can be downloaded from Wiki:
https://www.waveshare.com/wiki/Motor_Driver_HAT
⚫
Extract on your PC and copy to Raspberry Pi
LIBRARIES INSTALLATION
Before running the demo code, you should install necessary libraries (WiringPi,
BCM2835 and python). About how to install libraries, you can refer to this page:
Libraries_Installation_for_RPi
⚫
9 / 16