PaulStoffregen / Time

Time library for Arduino
http://playground.arduino.cc/code/time
1.25k stars 666 forks source link

Update TimeNTP_ESP8266WiFi.ino #96

Open rin67630 opened 6 years ago

rin67630 commented 6 years ago

Streamlined the print of time date in your example. This way you can print time / date or date / time and it is a breeze to derive
void displayDigitalClock() and void displayDigitalDate() for the SSD1306.h library, which needs buffered strings.

rin67630 commented 6 years ago

P.S. you might us this impluse to include the timestring() and datestring() functions to your library.