NTPClient icon indicating copy to clipboard operation
NTPClient copied to clipboard

How to use this library with an ESP-01?

Open modest1981 opened this issue 5 years ago • 1 comments

Hello, Anybody can help how to use this library with ESP-01 via Hardserial or Softserial?

modest1981 avatar Nov 09 '19 15:11 modest1981

Use the "WiFiEsp" library (easily find several tutorials) and then configure it like this:

#include <WiFiEsp.h>
#include <WiFiEspUdp.h>
#include <NTPClient.h>
...
WiFiEspUDP ntpUDP;
NTPClient timeClient(ntpUDP);

I'm starting to use it, I hope it helps you

rprediger avatar May 05 '20 18:05 rprediger