1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Trend indicator for voltage page

This commit is contained in:
norbert-walter
2022-03-26 18:46:48 +01:00
parent 7958810e7d
commit 27b471b0b8
15 changed files with 153 additions and 41 deletions

View File

@@ -81,9 +81,9 @@ void sensorTask(void *param){
bool INA226_1_ready = false; // INA226_1 initialized and ready to use
// Create integer arrays for average building
int avgsize = 300;
constexpr int arrayBatV{300};
constexpr int arrayBatC{300};
const int avgsize = 300;
constexpr int arrayBatV{avgsize};
constexpr int arrayBatC{avgsize};
movingAvg batV(arrayBatV);
movingAvg batC(arrayBatC);
batV.begin();