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

Split reading all sensor data in a separate task (thanks to Andreas)

This commit is contained in:
norbert-walter
2022-03-20 18:10:25 +01:00
parent 758778ace4
commit 1baa959d8f
5 changed files with 421 additions and 372 deletions

View File

@@ -35,7 +35,7 @@ public:
// Get voltage value
String name1 = "VBat";
double value1 = (float(analogRead(OBP_ANALOG0)) * 3.3 / 4096 + 0.17) * 20; // Vin = 1/20
double value1 = commonData.data.batteryVoltage; // Live supplay voltage
bool valid1 = true;
// Optical warning by limit violation