mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-05 05:34:43 +02:00
XPT2046 SPI frequency can be always defined
One less thing to edit or forget!
This commit is contained in:
@@ -167,7 +167,8 @@
|
|||||||
// #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS
|
// #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS
|
||||||
// #define SPI_FREQUENCY 80000000
|
// #define SPI_FREQUENCY 80000000
|
||||||
|
|
||||||
// #define SPI_TOUCH_FREQUENCY 2500000
|
// The XPT2046 required a lower SPI clock rate of 2.5MHz so we define that here:
|
||||||
|
#define SPI_TOUCH_FREQUENCY 2500000
|
||||||
|
|
||||||
|
|
||||||
// Comment out the following #define if "SPI Transactions" do not need to be
|
// Comment out the following #define if "SPI Transactions" do not need to be
|
||||||
|
Reference in New Issue
Block a user