29 lines
476 B
C
29 lines
476 B
C
#ifndef pinout_h
|
|
#define pinout_h
|
|
|
|
#include "Arduino.h"
|
|
|
|
// PCB board : STM32 DJI Gimbal V1.0
|
|
|
|
#define M1_PWM1 PA10
|
|
#define M1_PWM2 PA9
|
|
#define M1_PWM3 PA8
|
|
#define M1_Fault PB12
|
|
#define M1_Hall1 PB1
|
|
#define M1_Hall2 PA5
|
|
|
|
#define M2_PWM1 PB9
|
|
#define M2_PWM2 PB8
|
|
#define M2_PWM3 PB7
|
|
#define M2_Fault PB10
|
|
#define M2_Hall1 PA4
|
|
#define M2_Hall2 PA3
|
|
|
|
#define M3_PWM1 PB0
|
|
#define M3_PWM2 PA7
|
|
#define M3_PWM3 PA6
|
|
#define M3_Fault PA0
|
|
#define M3_Hall1 PA2
|
|
#define M3_Hall2 PA1
|
|
|
|
#endif |