mirror of
https://github.com/goodtft/LCD-show.git
synced 2024-12-11 11:24:16 +01:00
19 lines
419 B
C
19 lines
419 B
C
#pragma once
|
|
|
|
// Data specific to WaveShare 240x240, 1.3inch IPS LCD ST7789VW hat, https://www.waveshare.com/w/upload/a/ae/ST7789_Datasheet.pdf
|
|
#ifdef WAVESHARE_ST7789VW_HAT
|
|
|
|
#if !defined(GPIO_TFT_DATA_CONTROL)
|
|
#define GPIO_TFT_DATA_CONTROL 25
|
|
#endif
|
|
|
|
#if !defined(GPIO_TFT_BACKLIGHT)
|
|
#define GPIO_TFT_BACKLIGHT 24
|
|
#endif
|
|
|
|
#if !defined(GPIO_TFT_RESET_PIN)
|
|
#define GPIO_TFT_RESET_PIN 27
|
|
#endif
|
|
|
|
#endif
|