Browse Source

add delay

master
Tom Nordal 2 years ago
parent
commit
7d62eea8f7
  1. 3
      Sensors/src/main.cpp

3
Sensors/src/main.cpp

@ -16,6 +16,7 @@ float tempC;
float tempF; float tempF;
int setTime = 500; int setTime = 500;
int dt = 1000;
void setup() { void setup() {
@ -43,6 +44,6 @@ void loop() {
Serial.print(tempF); Serial.print(tempF);
Serial.println(" *F"); Serial.println(" *F");
delay(setTime * 2); delay(dt);
} }

Loading…
Cancel
Save