|
@@ -19,6 +19,19 @@
|
19
|
19
|
* Implementation of the LCD display routines for a DOGM128 graphic display. These are common LCD 128x64 pixel graphic displays.
|
20
|
20
|
**/
|
21
|
21
|
|
|
22
|
+ifdef ULTIPANEL
|
|
23
|
+#define BLEN_A 0
|
|
24
|
+#define BLEN_B 1
|
|
25
|
+#define BLEN_C 2
|
|
26
|
+#define EN_A (1<<BLEN_A)
|
|
27
|
+#define EN_B (1<<BLEN_B)
|
|
28
|
+#define EN_C (1<<BLEN_C)
|
|
29
|
+#define encrot0 0
|
|
30
|
+#define encrot1 2
|
|
31
|
+#define encrot2 3
|
|
32
|
+#define encrot3 1
|
|
33
|
+#define LCD_CLICKED (buttons&EN_C)
|
|
34
|
+#endif
|
22
|
35
|
|
23
|
36
|
// CHANGE_DE begin ***
|
24
|
37
|
#include <U8glib.h> // DE_U8glib
|