Files
tft-gc9a01-template/README.md
2024-07-01 10:17:48 +02:00

38 lines
964 B
Markdown

# W4D GC9A01 Template
For all GC9A01 based displays.
Tested with this: https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.28inch-lcd-module.htm
![](assets/round-display.png)
# How to use this template
Replace User_Setup.h in your Squareline export folder.
User_Setup.h is in the following directory:
your_squareline_export_folder/libraries/TFT_eSPI/User_Setup.h
# PINS
Display - Pico
VCC - 3V3
GND - GND
DIN - GP19
CLK - GP18
CS - GP17
DC - GP14
RST - GP15
BL - GP13
# Arduino project for SquareLine Studio with TFT_eSPI
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