Skip to content

Commit 9d25253

Browse files
author
Francis Duvivier
committed
update pins_arduino.h with LCD info for fri3d_2024_esp32s3
1 parent afffaf2 commit 9d25253

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

variants/fri3d_2024_esp32s3/pins_arduino.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ static const uint8_t MOSI = 6;
3535
static const uint8_t MISO = 8;
3636
static const uint8_t SCK = 7;
3737

38+
#define BOARD_HAS_SPI_LCD
39+
#define LCD_MODEL ST7789
40+
#define LCD_WIDTH 240
41+
#define LCD_HEIGHT 294
42+
#define LCD_MISO MISO
43+
#define LCD_DC 4 // Used to switch data and command status.
44+
#define LCD_CS 5 // used to enable LCD, low level to enable.
45+
#define LCD_CLK SCK // LCD SPI Clock.
46+
#define LCD_MOSI MOSI // LCD SPI MOSI.
47+
#define LCD_RST 48 // used to reset LCD, low level to reset.
48+
49+
3850
static const uint8_t A0 = 1;
3951
static const uint8_t A1 = 2;
4052
static const uint8_t A2 = 3;

0 commit comments

Comments
 (0)