mirror of
https://github.com/stasenso/rp_pico_display_engine.git
synced 2026-06-26 21:32:41 +03:00
Add ILI9341 backend and fix orientation/color settings
This commit is contained in:
@@ -41,7 +41,9 @@ set(DISPLAY_PIN_CS 13)
|
||||
set(DISPLAY_PIN_DC 12)
|
||||
set(DISPLAY_PIN_RST 11)
|
||||
set(DISPLAY_PIN_BL 10)
|
||||
set(DISPLAY_TYPE DISPLAY_TYPE_ST7789)
|
||||
# Available values: DISPLAY_TYPE_ST7789, DISPLAY_TYPE_ILI9341
|
||||
set(DISPLAY_TYPE "DISPLAY_TYPE_ILI9341" CACHE STRING "Display controller backend")
|
||||
set_property(CACHE DISPLAY_TYPE PROPERTY STRINGS DISPLAY_TYPE_ST7789 DISPLAY_TYPE_ILI9341)
|
||||
|
||||
# Pass display mapping into display backend without editing engine sources.
|
||||
target_compile_definitions(display_engine PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user