begin support for TFT displays
This commit is contained in:
@@ -34,7 +34,7 @@ const uint32_t g_ADigitalPinMap[] = {
|
||||
7, // D6 is P0.07
|
||||
34, // D7 is P1.02 (Button)
|
||||
16, // D8 is P0.16 (NeoPixel)
|
||||
26, // D9 is P0.26
|
||||
26, // D9 is P0.26 D_RS (IPS data/command control)
|
||||
27, // D10 is P0.27
|
||||
6, // D11 is P0.06 D_RES (IPS display reset)
|
||||
8, // D12 is P0.08 D_CS (IPS display chip select)
|
||||
|
||||
@@ -82,7 +82,6 @@ static const uint8_t A5 = PIN_A5;
|
||||
#define PIN_VBAT PIN_A4
|
||||
#define PIN_NFC1 (33)
|
||||
#define PIN_NFC2 (2)
|
||||
#define PIN_DISPLAY_RESET (11) // Output
|
||||
#define PIN_PIEZO (37)
|
||||
static const uint8_t AREF = PIN_AREF;
|
||||
|
||||
@@ -130,6 +129,11 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
||||
(15) // FIXME, see warning hre https://github.com/BigCorvus/SX1262-LoRa-BLE-Relay/blob/master/LORA_RELAY_NRF52840.ino
|
||||
#define SX1262_E22 // Indicates this SX1262 is inside of an ebyte E22 module and special config should be done for that
|
||||
|
||||
#define ST7735_RESET (11) // Output
|
||||
#define ST7735_CS (12)
|
||||
#define ST7735_BACKLIGHT_EN (13)
|
||||
#define ST7735_RS (9)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user