| 4 | #include <Ili934xDisplay.h> |
| 5 | |
| 6 | std::shared_ptr<tt::hal::touch::TouchDevice> createTouch() { |
| 7 | auto configuration = std::make_unique<Ft6x36Touch::Configuration>( |
| 8 | I2C_NUM_0, |
| 9 | LCD_HORIZONTAL_RESOLUTION, |
| 10 | LCD_VERTICAL_RESOLUTION, |
| 11 | false, |
| 12 | false, |
| 13 | false, |
| 14 | GPIO_NUM_NC, |
| 15 | GPIO_NUM_39 |
| 16 | ); |
| 17 | |
| 18 | return std::make_shared<Ft6x36Touch>(std::move(configuration)); |
| 19 | } |
| 20 | |
| 21 | std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay() { |
| 22 | Ili934xDisplay::Configuration panel_configuration = { |