From 298d99e9829aba68cff3e316298e5427dc654435 Mon Sep 17 00:00:00 2001 From: AlkaMotors <37931458+AlkaMotors@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:40:36 -0400 Subject: [PATCH] Adjust Sequre current sense --- Inc/targets.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Inc/targets.h b/Inc/targets.h index 40e72166..1a6b0089 100644 --- a/Inc/targets.h +++ b/Inc/targets.h @@ -1555,8 +1555,8 @@ #define FILE_NAME "SEQURE_12S_G071" #define FIRMWARE_NAME "SEQURE PRO " #define DEAD_TIME 60 -#define MILLIVOLT_PER_AMP 10 -#define CURRENT_OFFSET 0 +#define MILLIVOLT_PER_AMP 11 +#define CURRENT_OFFSET 40 #define TARGET_STALL_PROTECTION_INTERVAL 9000 #define TARGET_VOLTAGE_DIVIDER 210 #define HARDWARE_GROUP_G0_A @@ -1564,6 +1564,8 @@ #define SIXTY_FOUR_KB_MEMORY #define CURRENT_ADC_CHANNEL LL_ADC_CHANNEL_4 #define CURRENT_ADC_PIN LL_GPIO_PIN_4 +#define RAMP_SPEED_LOW_RPM 1 +#define RAMP_SPEED_HIGH_RPM 2 #define USE_LED_STRIP #endif