GeekMagicClock / smalltv-pro

PRO version of GeekMagic smalltv
93 stars 11 forks source link

pins for hardware? #18

Open MikeDX opened 7 months ago

MikeDX commented 7 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 2 months ago

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

MikeDX commented 2 months ago

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

Perfect. Thank you!