Download Print this page

Waveshare Motor Driver HAT User Manual page 13

Advertisement

Motor Driver HAT
WIRINGPI
PROJECT DIRECTORY AND FILES
The files on WiringPi project directory are similar to BCM2835. Their only difference
are:
DEV_Config.c(h): functions called are different
Makefile: linker is different.
USING
Demo code you download has no executable file moto, you need to run
make
to
generate it then execute command ./motor to run the demo code.
If you modify or add any functions, you need to run
make
again to update
If you change values of heard files, command make clear is also need before
make.
13 / 16

Advertisement

loading