Add the pinned Sensirion SEN66 driver, central sensor and board profiles, and a separate GPIO I2C bus for SEN66 with display. Preserve the original display layout and keep NOx and CO2 in InfluxDB. Include protocol tests, hardware workflow documentation and verified deployment results without credentials.
26 lines
423 B
C
26 lines
423 B
C
#ifndef __BSP_I2C_H__
|
|
#define __BSP_I2C_H__
|
|
|
|
#include "driver/i2c_master.h"
|
|
#include "driver/gpio.h"
|
|
|
|
#include "hardware_config.h"
|
|
|
|
#define EXAMPLE_PIN_I2C_SDA NANOPSX_I2C_SDA
|
|
#define EXAMPLE_PIN_I2C_SCL NANOPSX_I2C_SCL
|
|
#define I2C_PORT_NUM NANOPSX_I2C_PORT
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
i2c_master_bus_handle_t bsp_i2c_init(void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#endif //__BSP_I2C_H__
|