ExtSens Ver & Send U begin

This commit is contained in:
2021-06-29 17:57:22 +03:00
parent f5068b555f
commit 04a4e06bf6

View File

@@ -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");