Download Print this page

Waveshare Motor Driver HAT User Manual page 10

Advertisement

Motor Driver HAT
CODE ANALYSIS
We provide three demo codes for Raspberry Pi, which are based on BCM2835,
WiringPi and python libraries separately.
BCM2835
PROJECT DIRECTORY AND FILES
/bin:
.o files generated by makefile
Makefile: makefile is used to tell the compiler how to compile your project/code.
motor: executable file, which you can execute to run the code
/Obj: workspace of project
Debug.h: heard files of debug function, you can use DEBUG() to print debug
information like printf() by change USE_DEBUG to 1
10 / 16

Advertisement

loading