GeekMagicClock / smalltv-pro

PRO version of GeekMagic smalltv
129 stars 15 forks source link

pins for hardware? #18

Open MikeDX opened 12 months ago

MikeDX commented 12 months ago

Hello

It was very welcome that you shared the pins for the smalltv

Are they the same for this device?


#define TFT_BL 5 // LED back-light control pin
#define TFT_BACKLIGHT_ON LOW // Level to turn ON back-light (HIGH or LOW)
#define TFT_CS -1 // Chip select control pin D8
#define TFT_DC 0 // Data Command control pin
#define TFT_RST 2 // Reset pin (could connect to NodeMCU RST, see next line)
SCK 14
MOSI 13

and ST7789 ?

Also what is the pin for the touch input?

Many thanks in advance!

jo-m commented 7 months ago

Minimal working ESP-IDF example project: https://github.com/jo-m/smalltv-pro-esp-idf

MikeDX commented 6 months ago

Minimal working ESP-IDF example project: https://github.com/jo-m/smalltv-pro-esp-idf

Perfect. Thank you!