change battery measurement, add battery monitor

This commit is contained in:
sharandac
2020-07-20 16:49:14 +02:00
parent d9e8b89562
commit 017453b889
21 changed files with 663 additions and 60 deletions

View File

@@ -17,7 +17,7 @@ Created by Lewis he on October 10, 2019.
#include "hardware/powermgm.h"
#include "hardware/motor.h"
TTGOClass *ttgo = TTGOClass::getWatch();;
TTGOClass *ttgo = TTGOClass::getWatch();
void setup()
{
@@ -59,7 +59,6 @@ void setup()
void loop()
{
static int i = 0;
gui_loop( ttgo );
powermgm_loop( ttgo );
}