#include "Arduino.h" #include #include // To get vars from main file extern const char *ssid; extern const char *pass; extern const char *calendarURL; extern const char *timeZone; extern char calName[5][31]; extern char calStart[5][26]; extern char calTitle[5][81]; #ifndef NETWORK_H #define NETWORK_H // All functions defined in Network.cpp class Network { public: // Functions we can access in main file void begin(); void getTime(int *timeDigits); void off(); private: // Functions called from within our class void setTime(); void setCalendar(); size_t utf8_to_latin9(char *const output, const char *const input, const size_t length); }; #endif