Marlin Color UI for STM32F1 (SPI) (#18958)

This commit is contained in:
Victor Oliveira
2020-08-08 20:45:34 -03:00
committed by Scott Lahteine
parent d7d3827f47
commit 6f686b1801
7 changed files with 253 additions and 16 deletions

View File

@ -39,7 +39,9 @@
#define ILI9488_ORIENTATION_DOWN ILI9488_MADCTL_MX // 320x480 ; Cable on the upper side
#define ILI9488_COLOR_BGR
#define ILI9488_ORIENTATION ILI9488_ORIENTATION_LEFT
#ifndef ILI9488_ORIENTATION
#define ILI9488_ORIENTATION ILI9488_ORIENTATION_LEFT
#endif
#define ILI9488_MADCTL_DATA (ILI9488_ORIENTATION | TERN(ILI9488_COLOR_BGR, ILI9488_MADCTL_BGR, ILI9488_MADCTL_RGB))
#define ILI9488_NOP 0x00 // No Operation