Stepper Motor HAT User Manual
19
/
24
CODE ANALYSIS
We provide Raspberry Pi demo codes on wiki.
BCM2835
FILES
⚫
/bin:
.o files which are generated by makfile
⚫
Makefile: Code compilation
⚫
motor: Executable file, you can execute command sudo ./motor to run the code
⚫
Obj/: folders to save function files
Debug.h: Debug header file, you can set USE_DEBUG to 1 to print debug
information;
Deconflict(h): Define pins and interface of Raspberry Pi.
DRV8825.c(h): Driver code of DRV8825
main.c: Main function
README.txt: Description