Files
nanopsx_sen66/firmware/components/esp_bsp/bsp_touch.h
T
root 69bb47dda1 feat(firmware): support configurable SEN54 and SEN66 boards
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.
2026-11-09 21:44:04 +00:00

22 lines
443 B
C

#ifndef __BSP_TOUCH_H__
#define __BSP_TOUCH_H__
#include "driver/i2c_master.h"
#include "esp_lcd_touch_axs5106.h"
#define EXAMPLE_PIN_TP_INT GPIO_NUM_21
#define EXAMPLE_PIN_TP_RST GPIO_NUM_20
#ifdef __cplusplus
extern "C" {
#endif
esp_err_t bsp_touch_init(esp_lcd_touch_handle_t *touch_handle, i2c_master_bus_handle_t bus_handle, uint16_t xmax, uint16_t ymax, uint16_t rotation);
#ifdef __cplusplus
}
#endif
#endif