mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
Remove dependencies M5Unified and M5GFX because: - Sometimes the release doesn't even compile - The amount of functions is too close to the limit (I recently had to remove some code/dependency to be able to make a build at all) - Graphics performance issue since last update - Touch screen performance issues (not perfect yet, but better) - Compatibility issues with Tactility SPI/I2C versus M5Unified/M5GFX variants.
12 lines
476 B
C
12 lines
476 B
C
#pragma once
|
|
|
|
// Display
|
|
#define CORES3_LCD_SPI_HOST SPI3_HOST
|
|
#define CORES3_LCD_PIN_CS GPIO_NUM_3
|
|
#define CORES3_LCD_PIN_DC GPIO_NUM_35
|
|
#define CORES3_LCD_HORIZONTAL_RESOLUTION 320
|
|
#define CORES3_LCD_VERTICAL_RESOLUTION 240
|
|
#define CORES3_LCD_BITS_PER_PIXEL 16
|
|
#define CORES3_LCD_DRAW_BUFFER_HEIGHT (CORES3_LCD_VERTICAL_RESOLUTION / 10)
|
|
#define CORES3_LCD_DRAW_BUFFER_SIZE (CORES3_LCD_HORIZONTAL_RESOLUTION * CORES3_LCD_DRAW_BUFFER_HEIGHT * (CORES3_LCD_BITS_PER_PIXEL / 8))
|