mirror of
https://github.com/lucysrausch/hoverboard-firmware-hack.git
synced 2025-08-04 10:04:29 +02:00
adc in
This commit is contained in:
@@ -13,12 +13,13 @@
|
||||
#define PWM_FREQ 16000 // PWM frequency in Hz
|
||||
#define DEAD_TIME 32 // PWM deadtime
|
||||
|
||||
#define DC_CUR_LIMIT 34 // Motor DC current limit in amps
|
||||
//#define DC_CUR_LIMIT 34 // Motor DC current limit in amps
|
||||
#define DC_CUR_LIMIT 24 // Motor DC current limit in amps
|
||||
|
||||
//#define DEBUG_SERIAL_SERVOTERM
|
||||
#define DEBUG_SERIAL_ASCII
|
||||
// #define DEBUG_SERIAL_ASCII
|
||||
#define DEBUG_BAUD 115200 // UART baud rate
|
||||
//#define DEBUG_I2C_LCD
|
||||
|
||||
#define CONTROL_PPM // use PPM CONTROL_PPM
|
||||
// #define CONTROL_PPM // use PPM CONTROL_PPM
|
||||
#define PPM_NUM_CHANNELS 6 // number of PPM channels to receive
|
||||
|
Reference in New Issue
Block a user