add ui sample code
This commit is contained in:
+3
-4
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user