Skip to content

Commit 4bd5960

Browse files
committed
Initial version for submission - needs fixes.
1 parent 986a0ad commit 4bd5960

6 files changed

Lines changed: 460 additions & 3 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# M5Stack Core S3 Display Usermod
2+
3+
Display usermod for the ILI9342C 320x240 TFT display on the M5Stack Core S3, using LovyanGFX.
4+
5+
## Pin Mapping (M5Stack Core S3)
6+
7+
| ESP32-S3 | ILI9342C | Description |
8+
|----------|----------|-----------------|
9+
| G37 | MOSI | SPI Data |
10+
| G36 | SCLK | SPI Clock |
11+
| G3 | CS | Chip Select |
12+
| G35 | DC | Data/Command |
13+
14+
Reset is controlled via the AW9523B GPIO expander (P1_1). Backlight is powered via AXP2101 PMU (DLDO1).
15+
16+
## Building
17+
18+
In `platformio_override.ini` for your M5Stack Core S3 environment:
19+
20+
```ini
21+
build_flags =
22+
-D USERMOD_M5STACK_CORE_S3_DISPLAY
23+
24+
lib_deps =
25+
https://github.com/lovyan03/LovyanGFX
26+
```
27+
28+
## Features
29+
30+
- SSID and IP address in header bar
31+
- 16-band graphic equalizer bars (differential drawing)
32+
- Real audio reactive data when Audioreactive usermod is enabled
33+
- Simulated bouncing bars when no audio data
34+
- Rainbow color per bar (red → violet)
35+
- Auto sleep after 5 minutes of inactivity
36+
37+
## Display Notes
38+
39+
- Uses LovyanGFX with `SPI3_HOST` (HSPI)
40+
- Native landscape 320x240 resolution
41+
- BGR color order, display inversion enabled
42+
- Backlight always on (controlled by AXP2101 DLDO1)

0 commit comments

Comments
 (0)