diff --git a/controller_teensy/include/definitions.h b/controller_teensy/include/definitions.h index 69b41b7..556d8d7 100644 --- a/controller_teensy/include/definitions.h +++ b/controller_teensy/include/definitions.h @@ -42,10 +42,10 @@ const bool throttleCurvePerMM_A_Descending=true; //set true if corresponding arr const uint16_t throttleCurvePerMM_B[] = {6200,6700,7420,7710,8030,8200,8310,8440,8560,8640,8740,8840,8990,9130,9330,9630,9900,10440,10990}; //adc values for every unit (mm) of linear travel const bool throttleCurvePerMM_B_Descending=false; //set true if corresponding array is descending #define PIN_BRAKE A8 -const uint16_t calib_brake_min = 2000;//better a bit too high than too low +const uint16_t calib_brake_min = 7000; //better a bit too high than too low const uint16_t calib_brake_max = 11000; -const uint16_t failsafe_brake_min = 700; //if adc value falls below this failsafe is triggered -const uint16_t failsafe_brake_max = 13700; //if adc value goes above this failsafe is triggered +const uint16_t failsafe_brake_min = 4000; //if adc value falls below this failsafe is triggered +const uint16_t failsafe_brake_max = 14500; //if adc value goes above this failsafe is triggered uint16_t ads_throttle_A_raw=0; uint16_t ads_throttle_B_raw=0;