Files
watchy/watchfaces/pokemon-2.0/wta.h
T
2024-03-15 17:39:10 +01:00

19 lines
394 B
C++
Executable File

#ifndef WTA_H
#define WTA_H
#include <Watchy.h>
#define WTA_URL "http://worldtimeapi.org/api/timezone/"
#define WTA_TIMEZONE "Europe/Paris"
#define WTA_UPDATE_SHORT_INTERVAL 30 //minutes
#define WTA_UPDATE_LONG_INTERVAL 300 //minutes
#define WTA_UPDATE_TIMEOUT 10000 //ms
class WatchySynced : public Watchy
{
using Watchy::Watchy;
public:
void readWorldTime();
};
#endif