19 lines
460 B
C
19 lines
460 B
C
#ifndef POWERPOD_H
|
|
#define POWERPOD_H
|
|
|
|
#define DIP_MASTER 4
|
|
#define I2C_SCL 5
|
|
#define I2C_SDA 6
|
|
#define I2C_PORT 0
|
|
#define IO_EXPANDER_ADDRESS 0x20
|
|
|
|
/* TODO: Hardware pinning not finalized — verify against schematic before production. */
|
|
/** Front-panel button (active low, internal pull-up). */
|
|
#define TASTER_GPIO 12
|
|
|
|
/** LiPo voltage sense inputs (ADC-capable GPIOs; GPIO11 = ADC2 on ESP32-S3). */
|
|
#define V_LIPO_1_GPIO 1
|
|
#define V_LIPO_2_GPIO 11
|
|
|
|
#endif
|