Skip to content

Commit 95e214a

Browse files
committed
Updated the 7-segment clock to indicate how to program it.
1 parent 5100467 commit 95e214a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sevensegwordclock/sevensegwordclock.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Use "NodeMCU 0.9 (ESP-12) to program (NOT Generic8266)
12
#include "config.h"
23
#include <ESP8266WiFi.h>
34
#include <time.h>
@@ -32,7 +33,6 @@ void setup() {
3233
Serial.begin(115200);
3334

3435
Serial.println("Hello 7seg Clock serial");
35-
delay(2000);
3636
display.showTextScroll("Connecting");
3737

3838
WiFi.begin(ssid, pass); // send credentials
@@ -44,6 +44,9 @@ void setup() {
4444
display.showText(".", dot++, 1);
4545
}
4646
Serial.println("Connected");
47+
display.showTextScroll("Connected");
48+
delay(1000);
49+
4750
// implement NTP update of timekeeping (with automatic hourly updates)
4851
configTime(0, 0, "0.pool.ntp.org");
4952

0 commit comments

Comments
 (0)