flash firmware to both bobbycar escs

This commit is contained in:
interfisch 2019-12-29 01:08:46 +01:00
parent 094cb5ecb3
commit b1e6d9e995
1 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
#include "stm32f1xx_hal.h"
//Select the calibration values for the different pcbs
//#define BOBBYCAR_PCB_FRONT //Green PCB
//#define BOBBYCAR_PCB_REAR //Blue PCB
#define HOVERBRETT //Green PCB in Hoverbrett
#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button
//#define BOBBYCAR_PCB_REAR //Blue PCB. with XT60-U, beige programming cable. inner power button
//#define HOVERBRETT //Green PCB in Hoverbrett
// ############################### DO-NOT-TOUCH SETTINGS ###############################
@ -216,7 +216,7 @@
#define DIAG_ENA 1 // [-] Motor Diagnostics enable flag: 0 = Disabled, 1 = Enabled (default)
// Limitation settings
#define I_MOT_MAX 14 // [A] Maximum motor current limit
#define I_MOT_MAX 15 // [A] Maximum motor current limit
#define I_DC_MAX 17 // [A] Maximum DC Link current limit (This is the final current protection. Above this value, current chopping is applied. To avoid this make sure that I_DC_MAX = I_MOT_MAX + 2A)
#define N_MOT_MAX 1000 // [rpm] Maximum motor speed limit