XPT2046 SPI frequency can be always defined
One less thing to edit or forget!
This commit is contained in:
parent
19672f97e4
commit
94520c4071
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue