Skip to content

Commit 5e9b9a3

Browse files
committed
Updated FreeTouchDeck.ino
also updated the README.md for the cases.
1 parent 90b4105 commit 5e9b9a3

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

FreeTouchDeck.ino

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
2525
--- If you use Capacitive touch (ESP32 TouchDown) ---
2626
- Dustin Watts FT6236 Library (version 1.0.2), https://github.com/DustinWatts/FT6236
27+
-or-
28+
A new library that I created that has some more support for different FocalTech touch IC's.
2729
2830
The FILESYSTEM (SPI FLASH filing system) is used to hold touch screen calibration data.
2931
It has to be runs at least once when using resistive touch. After that you can set

user_setup.h Examples/README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
# TFT_eSPI configuration (User_Setup.h)
22

3-
Before compiling and uploading the FreeTouchDeck.ino sketch, you will have to edit the **User_Setup.h** file included with the TFT_eSPI library to match the setup you have. This can be found in your Arduino skechtbook folder under "libraries". If you have not renamed the TFT_eSPI library folder, the file **User_Setup.h** can be found in **TFT_eSPI-master**.
3+
Before compiling and uploading the FreeTouchDeck.ino sketch, you will have to edit the `User_Setup.h` file included with the TFT_eSPI library to match the setup you have. This can be found in your Arduino skechtbook "libraries" folder. If you have not renamed the TFT_eSPI library folder, the file `User_Setup.h` can be found in **/Documents/Arduino/libraries/TFT_eSPI-master/**.
44

5-
You can use the files in this directory as an example for different boards and screens. Simple rename the file that matches your combination of board and screen to `User_Setup.h` and replace the file that is in the library folder. You can also copy the contents of a file and replace the contenst in the existing `User_Setup.h`
5+
You can use the files in this repository as an example for different boards and screens. Simply rename the file that matches your combination of board and screen to `User_Setup.h` and replace the file that is in the library folder. You can also copy the contents of a file and replace the contenst in the existing `User_Setup.h`. Make sure to copy all the contents and don't leave any of the original content!
66

77
If there is a wiring diagram available, it is a .png image with the same name.
88

9+
# Configuration in FreeTouchDeck.ino
10+
11+
Some screens also need **FreeTouchDeck.ino** to be modified. By default it is setup for the ILI9488 with resistive touch and an ESP32.
12+
13+
## For the ESP32 TouchDown you will need to change the following things:
14+
15+
- Uncomment: `//#define USECAPTOUCH`
16+
- Uncomment: `//#define speakerPin 26`
17+
918
# Help
1019

1120
You can join my Discord server where I have a dedicated #freetouchdeck channel. https://discord.gg/RE3XevS

0 commit comments

Comments
 (0)