// Include the libraries
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1351.h>
#include <SPI.h>
// Define the pins
#define sclk 5
#define mosi 7
#define cs 8
#define rst 0
#define dc 1
// Create the display object
Adafruit_SSD1351 display = Adafruit_SSD1351(cs, dc, mosi, sclk, rst);
// Define the colors
#define BLACK 0x0000
#define WHITE 0xFFFF
void setup() {
// Initialize the display
display.begin();
display.fillScreen(BLACK);
// Set the text color and size
display.setTextColor(WHITE);
display.setTextSize(2);
// Print the text
display.setCursor(0, 0);
display.println("Hello World!");
}
void loop() {
// Nothing to do here
}
esp:EN
esp:VN
esp:VP
esp:D34
esp:D35
esp:D32
esp:D33
esp:D25
esp:D26
esp:D27
esp:D14
esp:D12
esp:D13
esp:GND.2
esp:VIN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
chip1:DC
chip1:CS
chip1:SDA
chip1:SCL
chip1:GND
chip1:VCC
chip1:RST