7 slaves
This commit is contained in:
@ -34,6 +34,7 @@
|
||||
#define AMS_LOGGING_ID 0x500
|
||||
|
||||
#define AMS_LOGGING_NUM_FRAMES 6
|
||||
#define AMS_LOGGING_FRAMES_PER_LOOP 1
|
||||
|
||||
// Charger->Master IDs
|
||||
#define CHARGER_START_CHARGING 0x446
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#define GET_MEASUREMENTS 0x05
|
||||
#define TOGGLE_STATUS_LED 0x06
|
||||
|
||||
#define NUMBEROFSLAVES 6
|
||||
#define NUMBEROFSLAVES 7
|
||||
#define N_CELLS_SERIES 10
|
||||
#define N_CELLS_PARALLEL 9
|
||||
#define NUMBEROFTEMPS 32
|
||||
|
||||
@ -42,7 +42,10 @@ extern "C" {
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/* USER CODE BEGIN EC */
|
||||
|
||||
#define THRESH_UV 32768 /* 2.5V */
|
||||
#define THRESH_OV 55050 /* 4.2V */
|
||||
#define THRESH_UT 0 /* 0C */
|
||||
#define THRESH_OT 880 /* 55C */
|
||||
/* USER CODE END EC */
|
||||
|
||||
/* Exported macro ------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user