Tweaked sketch info formatting in two examples for consistency...
This commit is contained in:
@@ -23,9 +23,8 @@ void setup()
|
||||
sensors.begin();
|
||||
gw.begin();
|
||||
|
||||
// Send the sketch version information to the gateway and Controller
|
||||
gw.sendSketchInfo("Temperature Sensor", "1.0");
|
||||
|
||||
// Send the sketch version information to the gateway and Controller
|
||||
gw.sendSketchInfo("Temperature Sensor", "1.0");
|
||||
|
||||
// Fetch the number of attached sensors
|
||||
numSensors = sensors.getDeviceCount();
|
||||
|
||||
@@ -42,7 +42,6 @@ void setup()
|
||||
// Send the sketch version information to the gateway and Controller
|
||||
gw.sendSketchInfo("Energy Meter", "1.0");
|
||||
|
||||
|
||||
// Register this device as power sensor
|
||||
gw.sendSensorPresentation(CHILD_ID, S_POWER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user