Update RemoteTempSensor.ino
This commit is contained in:
parent
e220ba4b34
commit
612394a052
|
|
@ -55,7 +55,7 @@
|
||||||
#include "HomeSpan.h"
|
#include "HomeSpan.h"
|
||||||
#include <Wire.h> // include the I2C library
|
#include <Wire.h> // include the I2C library
|
||||||
|
|
||||||
// #define DIAGNOSTIC_MODE
|
#define DIAGNOSTIC_MODE
|
||||||
|
|
||||||
#define SAMPLE_TIME 30000 // Time between temperature samples (in milliseconds)
|
#define SAMPLE_TIME 30000 // Time between temperature samples (in milliseconds)
|
||||||
#define I2C_ADD 0x48 // ICS Address to use for the Adafruit ADT7410
|
#define I2C_ADD 0x48 // ICS Address to use for the Adafruit ADT7410
|
||||||
|
|
@ -70,6 +70,7 @@ void setup() {
|
||||||
homeSpan.setLogLevel(1);
|
homeSpan.setLogLevel(1);
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
Serial.printf("Starting Remote Temperature Sensor. MAC Address of this device = %s\n",WiFi.macAddress().c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// In the line below, replace the MAC Address with that of your MAIN HOMESPAN DEVICE
|
// In the line below, replace the MAC Address with that of your MAIN HOMESPAN DEVICE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue