File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void loop(void)
34
34
Serial.print (" Requesting temperatures..." );
35
35
sensors.requestTemperatures (); // Send the command to get temperatures
36
36
Serial.println (" DONE" );
37
- delay (5000 );
37
+ delay (1500 );
38
38
// After we got the temperatures, we can print them here.
39
39
// We use the function ByIndex, and as an example get the temperature from the first sensor only.
40
40
float tempC = sensors.getTempCByIndex (0 );
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void loop(void)
105
105
Serial.print (" Requesting temperatures..." );
106
106
sensors.requestTemperatures (); // Send the command to get temperatures
107
107
Serial.println (" DONE" );
108
- delay (5000 );
108
+ delay (1500 );
109
109
110
110
// It responds almost immediately. Let's print out the data
111
111
printTemperature (insideThermometer); // Use a simple function to print out the data
Original file line number Diff line number Diff line change @@ -62,5 +62,5 @@ void loop(void)
62
62
Serial.println (sensors.getTempCByIndex (0 ));
63
63
Serial.println (" \n\n\n\n " );
64
64
65
- delay (5000 );
65
+ delay (1500 );
66
66
}
You can’t perform that action at this time.
0 commit comments