EasyManuals Logo

Waveshare HAT User Manual

Waveshare HAT
24 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
Page #19 background imageLoading...
Page #19 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Waveshare HAT and is the answer not in the manual?

Waveshare HAT Specifications

General IconGeneral
Logic voltage3.3V
Motor channel2
Resolution12-bit
InterfaceI2C
Operating voltage5V
Input Voltage5V
Dimensions65mm x 30mm
CompatibilityRaspberry Pi

Related product manuals