Changed time_t to unsigned for Arduino Time.h compatibility