diff options
Diffstat (limited to 'glcd.h')
-rw-r--r--[-rwxr-xr-x] | glcd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ #define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
+#define PORTRAIT (orientation == portrait || orientation == portraitInv)
+#define LANDSCAPE (orientation == landscape || orientation == landscapeInv)
+
/* uncomment if no board.h file used
#define LCD_DATA_PORT GPIOE
#define LCD_CMD_PORT GPIOD
|