diff options
Diffstat (limited to 'main/touch.h')
| -rw-r--r-- | main/touch.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/touch.h b/main/touch.h new file mode 100644 index 0000000..c2c5f79 --- /dev/null +++ b/main/touch.h @@ -0,0 +1,9 @@ +#pragma once + +#include "esp_err.h" + +// Initialize the FT5426 touch controller (I2C 0x38, shared bus with the +// panel MCU) and start the polling/dispatch task. Safe to call before +// the panel is wired — returns an error and leaves the rest of the +// firmware running. +esp_err_t touch_init(void); |
