Skip to content

Commit 83af460

Browse files
committed
Clean up old debug code from Wemos sketch
1 parent 6289c6c commit 83af460

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/Wemos/Wemos.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ void setup() {
7777
void loop() {
7878
float vdd = ESP.getVcc() / 500.0;
7979
while (WiFi.status() != WL_CONNECTED) {
80-
delay(500);
81-
Serial.print(".");
80+
Serial.println("Waiting for WiFi...");
81+
delay(1000);
8282
}
8383

8484
// Measure data
@@ -127,7 +127,6 @@ void loop() {
127127
}
128128
client.stop();
129129
}
130-
delay(1000);
131130

132131
// Turn off sensor and go to sleep
133132
sensor.turnOff();
@@ -136,7 +135,6 @@ void loop() {
136135
(previous_millis + (minutes_time_interval * 60 * 1000))) {
137136
delay(10000);
138137
current_millis = millis();
139-
Serial.println(current_millis);
140138
}
141139
previous_millis = current_millis;
142140
sensor.turnOn();

0 commit comments

Comments
 (0)