snapshot
This commit is contained in:
@@ -1,5 +1,36 @@
|
||||
#include "DisplayDriverGFX.h"
|
||||
|
||||
// Arduino_GFX uses RGB565 values directly; define convenience names
|
||||
#ifndef BLACK
|
||||
#define BLACK 0x0000
|
||||
#endif
|
||||
#ifndef WHITE
|
||||
#define WHITE 0xFFFF
|
||||
#endif
|
||||
|
||||
#ifndef RED
|
||||
#define RED 0xF800
|
||||
#endif
|
||||
#ifndef GREEN
|
||||
#define GREEN 0x07E0
|
||||
#endif
|
||||
#ifndef BLUE
|
||||
#define BLUE 0x001F
|
||||
#endif
|
||||
#ifndef YELLOW
|
||||
#define YELLOW 0xFFE0
|
||||
#endif
|
||||
#ifndef CYAN
|
||||
#define CYAN 0x07FF
|
||||
#endif
|
||||
#ifndef MAGENTA
|
||||
#define MAGENTA 0xF81F
|
||||
#endif
|
||||
#ifndef ORANGE
|
||||
#define ORANGE 0xFD20
|
||||
#endif
|
||||
|
||||
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
// CH422G IO Expander
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
Reference in New Issue
Block a user