NTPClient
NTPClient copied to clipboard
How to use this library with an ESP-01?
Hello, Anybody can help how to use this library with ESP-01 via Hardserial or Softserial?
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