This commit is contained in:
2025-04-28 00:07:43 +02:00
parent 0c71409c30
commit 8b9e72ef71
9 changed files with 266 additions and 212 deletions

View File

@@ -8,11 +8,17 @@
#define ESP_RXD0 GPIO_NUM_44
#define ESP_TXD0 GPIO_NUM_43
#define MCP23018_ADDRESS 0x20
#define INA260_ADDRESS 0x40
#define BME680_ADDRESS 0x76
#define CCS811_ADDRESS 0x5A
#define MPU9250_ADDRESS 0x68
#define BME680_ADDRESS 0x76
#define INA260_ADDRESS 0x40
#define MCP23018_ADDRESS 0x20
#define BME680_PRESENT_BIT (1 << 0)
#define CCS811_PRESENT_BIT (1 << 1)
#define MPU9250_PRESENT_BIT (1 << 2)
#define INA260_PRESENT_BIT (1 << 3)
#define MCP23018_PRESENT_BIT (1 << 4)
#define ESP_CONNECTOR_P1 MCP3550_MISO_GPIO
#define ESP_CONNECTOR_P2 MCP3550_MOSI_GPIO