This commit is contained in:
jbbth
2024-07-01 22:38:28 +02:00
commit 386f4c57d7
4 changed files with 527 additions and 0 deletions

37
README.md Executable file
View File

@ -0,0 +1,37 @@
# 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
![](assets/oledrgb.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 - 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