Fix problems found after verification of local commits.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#define BARO_CHILD 0
|
||||
#define TEMP_CHILD 1
|
||||
|
||||
#define LIGHT_SENSOR_ANALOG_PIN 0
|
||||
unsigned long SLEEP_TIME = 60000; // Sleep time between reads (in seconds)
|
||||
|
||||
Adafruit_BMP085 bmp = Adafruit_BMP085(); // Digital Pressure Sensor
|
||||
|
||||
@@ -66,6 +66,10 @@ void loop()
|
||||
|
||||
void incomingMessage(const MyMessage &message) {
|
||||
// We only expect one type of message from controller. But we better check anyway.
|
||||
if (message.isAck()) {
|
||||
Serial.println("This is an ack from gateway");
|
||||
}
|
||||
|
||||
if (message.type==V_LIGHT) {
|
||||
// Change relay state
|
||||
state = message.getBool();
|
||||
|
||||
Reference in New Issue
Block a user