Skip to content

Commit 8d7d63d

Browse files
committed
Update DallasTemperatureSensor.ino
1 parent 938ade8 commit 8d7d63d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/MySensors/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#define MAX_ATTACHED_DS18B20 16
3434
unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds)
3535
OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
36-
DallasTemperature sensors(&oneWire); // Pass our oneWire reference to Dallas Temperature.
36+
DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
3737
MySensor gw;
3838
float lastTemperature[MAX_ATTACHED_DS18B20];
3939
int numSensors=0;
@@ -45,10 +45,10 @@ MyMessage msg(0,V_TEMP);
4545
void setup()
4646
{
4747
// Startup up the OneWire library
48-
sensors.begin();
48+
sensors.begin();
4949

5050
// Startup and initialize MySensors library. Set callback for incoming messages.
51-
gw.begin();
51+
gw.begin();
5252

5353
// Send the sketch version information to the gateway and Controller
5454
gw.sendSketchInfo("Temperature Sensor", "1.0");

0 commit comments

Comments
 (0)