Implementation of the Pomodoro technique on the ESP-32 microcontroller.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
372 B
Raw

#ifndef NTP_Synchronisation
#define NTP_Synchronisation
#include <WiFi.h>
#include "time.h"
#include "WifiConfig.h"
extern const char* ntpServer;
extern const long gmtOffset_sec;
extern const int daylightOffset_sec;
extern struct tm timeinfo;
extern bool connectWifi(int, int);
extern void disconnectWifi();
extern bool synchroniseTimeNTP(bool, bool, int, int);
#endif