Update Usermod Battery (#2975)

* auto-off feature and usermod rename
* low-power-indicator, voltage fine tuning, clean-up

* corrected small mistakes
* Bugfixes, added usermod logo, update readme
* minor changes, implemented change requests, optimizationz
This commit is contained in:
Maximilian Mewes
2022-12-28 22:40:13 +01:00
committed by GitHub
parent ee4459691f
commit 73440e2287
13 changed files with 907 additions and 471 deletions

View File

@@ -11,8 +11,8 @@
*/
//#include "../usermods/EXAMPLE_v2/usermod_v2_example.h"
#ifdef USERMOD_BATTERY_STATUS_BASIC
#include "../usermods/battery_status_basic/usermod_v2_battery_status_basic.h"
#ifdef USERMOD_BATTERY
#include "../usermods/battery/usermod_v2_battery.h"
#endif
#ifdef USERMOD_DALLASTEMPERATURE
@@ -193,8 +193,8 @@ void registerUsermods()
* \/ \/ \/
*/
//usermods.add(new MyExampleUsermod());
#ifdef USERMOD_BATTERY_STATUS_BASIC
usermods.add(new UsermodBatteryBasic());
#ifdef USERMOD_BATTERY
usermods.add(new UsermodBattery());
#endif
#ifdef USERMOD_DALLASTEMPERATURE