2024-07-01 21:02:30 +00:00
|
|
|
# W4D ST7789 Template
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
For all ST7789 based displays.
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
Tested with this: https://www.waveshare.com/pico-restouch-lcd-2.8.htm
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|

|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
# How to use this template
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
Replace TFT_eSPI folder in your libraries folder in your Squareline export folder with the folder in this repository.
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
# Arduino project for SquareLine Studio with TFT_eSPI
|
2024-06-21 17:24:06 +02:00
|
|
|
|
2024-07-01 21:02:30 +00:00
|
|
|
1. Open the `.ino` file in Arduino
|
|
|
|
|
2. Go to File/Preferences and set Sketchbook location to the path of your UI project (where this README is located)
|
|
|
|
|
3. Go to `libraries/TFT_eSPI` and replace `User_Setup.h` with the one in this repository.
|
|
|
|
|
4. Choose __Raspberry Pi Pico (Arduino mbed)__ as board and (probably) UF2 as port. Later choose usbmodeXXXX for mac and COMxx for PC.
|
|
|
|
|
5. Upload the project
|
|
|
|
|
|
|
|
|
|
~
|
|
|
|
|
~
|
|
|
|
|
~
|
|
|
|
|
~
|
|
|
|
|
~
|
|
|
|
|
~
|