File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change
1
+ // ----------------------------------------
2
+ // Constants
3
+ // ----------------------------------------
4
+
1
5
// Left top
2
6
#define ICON_WIFI_SYMBOL_LEFT 1 // 0, 0
3
7
#define ICON_DOWN_ARROW 2 // 16, 0
29
33
// Right bottom
30
34
#define ICON_LOGGING 0x10000 // right, bottom
31
35
36
+ // ----------------------------------------
37
+ // Locals
38
+ // ----------------------------------------
39
+
40
+ static QwiicMicroOLED oled;
41
+ static uint32_t blinking_icons;
32
42
static uint32_t icons;
33
43
44
+ // Fonts
45
+ #include < res/qw_fnt_5x7.h>
46
+ #include < res/qw_fnt_8x16.h>
47
+ #include < res/qw_fnt_largenum.h>
48
+
49
+ // Icons
50
+ #include " icons.h"
51
+
52
+ // ----------------------------------------
53
+ // Routines
54
+ // ----------------------------------------
55
+
34
56
void beginDisplay ()
35
57
{
36
58
blinking_icons = 0 ;
Original file line number Diff line number Diff line change @@ -270,15 +270,6 @@ bool zedUartPassed = false; //Goes true during testing if ESP can communicate wi
270
270
// External Display
271
271
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
272
272
#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
273
- QwiicMicroOLED oled;
274
- uint32_t blinking_icons;
275
-
276
- // Fonts
277
- #include < res/qw_fnt_5x7.h>
278
- #include < res/qw_fnt_8x16.h>
279
- #include < res/qw_fnt_largenum.h>
280
-
281
- #include " icons.h"
282
273
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
283
274
284
275
// Firmware binaries loaded from SD
You can’t perform that action at this time.
0 commit comments