From 04a4e06bf69d2f31ace3dbe2b8a45faa8016e51a Mon Sep 17 00:00:00 2001 From: lexa Date: Tue, 29 Jun 2021 17:57:22 +0300 Subject: [PATCH] ExtSens Ver & Send U begin --- ExtSens/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ExtSens/src/main.cpp b/ExtSens/src/main.cpp index 50a0668..3ac83c1 100644 --- a/ExtSens/src/main.cpp +++ b/ExtSens/src/main.cpp @@ -50,7 +50,8 @@ void setup() { Serial.print(F("H: ")); Serial.print(hum = myAHT10.readHumidity(AHT10_USE_READ_DATA));// Serial.println(F(" +-2%")); sendData(msgTemp, temp, 1); sendData(msgHum, hum, 1); - + unsigned long battMV = hwCPUVoltage(); + sendData(msgVolts, battMV / 1000.0, 2); cRun = 0; sendData(msgMillis, cRun); //send(msgMillis.set(cRun)); @@ -91,7 +92,7 @@ void loop() { void presentation() { - sendSketchInfo("ExtSens", "1.2"); + sendSketchInfo("ExtSens", "1.3"); present(0, S_TEMP, "Temp"); present(1, S_HUM, "Humid"); present(2, S_CUSTOM, "ESMillis");