From 3ac16711849ba6048b214f91988af3b3c8b0fa0b Mon Sep 17 00:00:00 2001 From: Hamid Saffari <35362339+HamidSaffari@users.noreply.github.com> Date: Fri, 27 Mar 2020 17:09:29 +0430 Subject: [PATCH] Added Second SPI option for Touchpad driver --- User_Setup.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/User_Setup.h b/User_Setup.h index 0139bbd..44c07cd 100644 --- a/User_Setup.h +++ b/User_Setup.h @@ -295,3 +295,9 @@ // so changing it here has no effect // #define SUPPORT_TRANSACTIONS + +// The STM32 and have more than one SPI port. +// so uncomment the following line if you want to use second SPI for Touch: +// On STM32F1: SPITwo (PB15, PB14, PB13); (MOSI, MISO, CLK) +// On ESP32 : HSPI (13, 12, 14); (MOSI, MISO, CLK) +#define SPI2_for_TOUCH_PORT