38 lines
957 B
Markdown
Executable File
38 lines
957 B
Markdown
Executable File
# W4D SSD1351 Template
|
|
|
|
For all SSD1351 based displays.
|
|
|
|
Tested with this: https://www.waveshare.com/product/displays/oled/oled-3/1.5inch-rgb-oled-module.htm
|
|
|
|

|
|
|
|
|
|
# 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 - GP20
|
|
RST - GP21
|
|
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
|
|
|