EasyManua.ls Logo

Waveshare Motor Driver HAT - Motor Driver HAT Code Examples; Code Analysis and Project Structure

Waveshare Motor Driver HAT
16 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Motor Driver HAT
10 / 16
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

Related product manuals