Update precharge to handle separate pin definitions

This commit is contained in:
Daniel Öster 2025-05-13 18:52:48 +03:00
parent 2f18bfec74
commit 2d35e08848
8 changed files with 54 additions and 59 deletions

View file

@ -62,6 +62,10 @@ The pin layout below supports the following:
// Equipment stop pin
#define EQUIPMENT_STOP_PIN GPIO_NUM_12
// Automatic precharging
#define HIA4V1_PIN GPIO_NUM_17
#define INVERTER_DISCONNECT_CONTACTOR_PIN GPIO_NUM_5
// BMW_I3_BATTERY wake up pin
#ifdef BMW_I3_BATTERY
#define WUP_PIN1 GPIO_NUM_25 // Wake up pin for battery 1