add ui sample code

This commit is contained in:
geeksville
2020-02-07 13:51:17 -08:00
parent 14c5d0de40
commit 88436f8522
6 changed files with 343 additions and 188 deletions
+3 -4
View File
@@ -30,6 +30,7 @@
#include "MeshBluetoothService.h"
#include "MeshService.h"
#include "GPS.h"
#include "screen.h"
#ifdef T_BEAM_V10
#include "axp20x.h"
@@ -353,10 +354,8 @@ void setup()
// Show logo on first boot after removing battery
//if (bootCount == 0) {
screen_print(APP_NAME " " APP_VERSION, 0, 0);
screen_print(APP_NAME " " APP_VERSION);
screen_show_logo();
screen_update();
delay(LOGO_DELAY);
//}
service.init();
@@ -429,5 +428,5 @@ void loop()
// No GPS lock yet, let the OS put the main CPU in low power mode for 100ms (or until another interrupt comes in)
// i.e. don't just keep spinning in loop as fast as we can.
delay(100);
//delay(100);
}