Rename to PowerAnalyzer for more common use
This commit is contained in:
parent
6067d62e8b
commit
40b60b8c1c
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1,3 @@
|
||||||
.vscode/.browse.c_cpp.db*
|
.vscode/.browse.c_cpp.db*
|
||||||
.vscode/c_cpp_properties.json
|
.vscode/c_cpp_properties.json
|
||||||
.vscode/launch.json
|
.vscode/launch.json
|
||||||
.pioenvs
|
|
||||||
.piolibdeps
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
!<arch>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
!<arch>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 2.9 MiB |
Binary file not shown.
|
@ -17,7 +17,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<h3>
|
<h3>
|
||||||
Battery Analyzer / Tracker - v0.17 alpha
|
Power Analyzer - V0.29 Beta
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
@ -1,4 +1,4 @@
|
||||||
/*Carstens Battery Analzyer Tracker
|
/*Power Analyzer
|
||||||
*22.08.2018
|
*22.08.2018
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ Task t3(10000, TASK_FOREVER, &read_bat);
|
||||||
Task t4(300, TASK_FOREVER, &read_button);
|
Task t4(300, TASK_FOREVER, &read_button);
|
||||||
Task t5(30000, TASK_FOREVER, &data_logging);
|
Task t5(30000, TASK_FOREVER, &data_logging);
|
||||||
//Task t3(60000, TASK_FOREVER, &eeprom_save);
|
//Task t3(60000, TASK_FOREVER, &eeprom_save);
|
||||||
Scheduler runner;
|
Scheduler task;
|
||||||
|
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
@ -119,7 +119,7 @@ void setup() {
|
||||||
|
|
||||||
//Setup Debug Serial
|
//Setup Debug Serial
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Serial.println("Battery Analyzer by Carsten Schmiemann (C) 2018");
|
Serial.println("Power Analyzer by Carsten Schmiemann (C) 2018");
|
||||||
|
|
||||||
//Init LCD and Custom Chars
|
//Init LCD and Custom Chars
|
||||||
lcd.init();
|
lcd.init();
|
||||||
|
@ -134,11 +134,11 @@ void setup() {
|
||||||
//Bootscreen
|
//Bootscreen
|
||||||
lcd.clear();
|
lcd.clear();
|
||||||
lcd.setCursor(4,0);
|
lcd.setCursor(4,0);
|
||||||
lcd.print("Battery Power");
|
lcd.print("Power Analyzer");
|
||||||
lcd.setCursor(7,1);
|
lcd.setCursor(7,1);
|
||||||
lcd.print("Tracker");
|
//lcd.print("Tracker");
|
||||||
lcd.setCursor(5,2);
|
lcd.setCursor(5,2);
|
||||||
lcd.print("V0.17 Alpha");
|
lcd.print("V0.29 Beta");
|
||||||
lcd.setCursor(7,3);
|
lcd.setCursor(7,3);
|
||||||
lcd.print("CS,2018");
|
lcd.print("CS,2018");
|
||||||
lcd.write(1);
|
lcd.write(1);
|
||||||
|
@ -169,7 +169,7 @@ void setup() {
|
||||||
lcd.print("Setup Wi-Fi...");
|
lcd.print("Setup Wi-Fi...");
|
||||||
delay(300);
|
delay(300);
|
||||||
AsyncWiFiManager wifiManager(&server,&dns);
|
AsyncWiFiManager wifiManager(&server,&dns);
|
||||||
wifiManager.autoConnect("BatteryAnalyzer WiFi");
|
wifiManager.autoConnect("PowerAnalyzer WiFi");
|
||||||
lcd.setCursor(16,0);
|
lcd.setCursor(16,0);
|
||||||
lcd.print("Done");
|
lcd.print("Done");
|
||||||
} else {
|
} else {
|
||||||
|
@ -191,12 +191,12 @@ void setup() {
|
||||||
//Init Task Scheduler
|
//Init Task Scheduler
|
||||||
lcd.setCursor(0,2);
|
lcd.setCursor(0,2);
|
||||||
lcd.print("Init Threads...");
|
lcd.print("Init Threads...");
|
||||||
runner.init();
|
task.init();
|
||||||
runner.addTask(t1);
|
task.addTask(t1);
|
||||||
runner.addTask(t2);
|
task.addTask(t2);
|
||||||
runner.addTask(t3);
|
task.addTask(t3);
|
||||||
runner.addTask(t4);
|
task.addTask(t4);
|
||||||
runner.addTask(t5);
|
task.addTask(t5);
|
||||||
t1.enable();
|
t1.enable();
|
||||||
t2.enable();
|
t2.enable();
|
||||||
t3.enable();
|
t3.enable();
|
||||||
|
@ -214,7 +214,7 @@ void setup() {
|
||||||
server.serveStatic("/img", SPIFFS, "/img");
|
server.serveStatic("/img", SPIFFS, "/img");
|
||||||
server.serveStatic("/", SPIFFS, "/").setDefaultFile("index.html");
|
server.serveStatic("/", SPIFFS, "/").setDefaultFile("index.html");
|
||||||
server.begin();
|
server.begin();
|
||||||
ftpSrv.begin("battery","tracker");
|
ftpSrv.begin("power","analyzer");
|
||||||
delay(500);
|
delay(500);
|
||||||
lcd.setCursor(16,2);
|
lcd.setCursor(16,2);
|
||||||
lcd.print("Done");
|
lcd.print("Done");
|
||||||
|
@ -229,7 +229,7 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
//Exec TaskScheduler
|
//Exec TaskScheduler
|
||||||
runner.execute();
|
task.execute();
|
||||||
ftpSrv.handleFTP();
|
ftpSrv.handleFTP();
|
||||||
unsigned long currentMillis = millis();
|
unsigned long currentMillis = millis();
|
||||||
|
|
Loading…
Reference in a new issue