ExtSens Ver & Send U begin
This commit is contained in:
@@ -50,7 +50,8 @@ void setup() {
|
|||||||
Serial.print(F("H: ")); Serial.print(hum = myAHT10.readHumidity(AHT10_USE_READ_DATA));// Serial.println(F(" +-2%"));
|
Serial.print(F("H: ")); Serial.print(hum = myAHT10.readHumidity(AHT10_USE_READ_DATA));// Serial.println(F(" +-2%"));
|
||||||
sendData(msgTemp, temp, 1);
|
sendData(msgTemp, temp, 1);
|
||||||
sendData(msgHum, hum, 1);
|
sendData(msgHum, hum, 1);
|
||||||
|
unsigned long battMV = hwCPUVoltage();
|
||||||
|
sendData(msgVolts, battMV / 1000.0, 2);
|
||||||
cRun = 0;
|
cRun = 0;
|
||||||
sendData(msgMillis, cRun);
|
sendData(msgMillis, cRun);
|
||||||
//send(msgMillis.set(cRun));
|
//send(msgMillis.set(cRun));
|
||||||
@@ -91,7 +92,7 @@ void loop() {
|
|||||||
|
|
||||||
void presentation()
|
void presentation()
|
||||||
{
|
{
|
||||||
sendSketchInfo("ExtSens", "1.2");
|
sendSketchInfo("ExtSens", "1.3");
|
||||||
present(0, S_TEMP, "Temp");
|
present(0, S_TEMP, "Temp");
|
||||||
present(1, S_HUM, "Humid");
|
present(1, S_HUM, "Humid");
|
||||||
present(2, S_CUSTOM, "ESMillis");
|
present(2, S_CUSTOM, "ESMillis");
|
||||||
|
|||||||
Reference in New Issue
Block a user