From 0c18297d771b715e8e014bef9719b1702708af37 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Fri, 28 Jan 2022 22:07:21 +0000 Subject: [PATCH] Update setup 70 with optional touch --- User_Setups/Setup70_ESP32_S2_ILI9341.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/User_Setups/Setup70_ESP32_S2_ILI9341.h b/User_Setups/Setup70_ESP32_S2_ILI9341.h index 47d7166..c58f8f1 100644 --- a/User_Setups/Setup70_ESP32_S2_ILI9341.h +++ b/User_Setups/Setup70_ESP32_S2_ILI9341.h @@ -14,6 +14,8 @@ #define TFT_DC 14 #define TFT_RST 15 +//#define TOUCH_CS 16 // Optional for touch screen + #define LOAD_GLCD #define LOAD_FONT2 #define LOAD_FONT4 @@ -31,3 +33,5 @@ #define SPI_FREQUENCY 40000000 // Maximum for ILI9341 #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V + +#define SPI_TOUCH_FREQUENCY 2500000