mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- Added new board - Extracted ST7789 driver and backlight PWM driver into separate subprojects - Refactored T-Deck to use the shared driver modules - Fix bug in WiFi service: searching for APs was broken
10 lines
328 B
C
10 lines
328 B
C
#pragma once
|
|
|
|
#define TDECK_LCD_SPI_HOST SPI2_HOST
|
|
#define TDECK_LCD_PIN_CS GPIO_NUM_12
|
|
#define TDECK_LCD_PIN_DC GPIO_NUM_11 // RS
|
|
#define TDECK_LCD_HORIZONTAL_RESOLUTION 320
|
|
#define TDECK_LCD_VERTICAL_RESOLUTION 240
|
|
#define TDECK_LCD_BITS_PER_PIXEL 16
|
|
#define TDECK_LCD_SPI_TRANSFER_HEIGHT (TDECK_LCD_VERTICAL_RESOLUTION / 10)
|