#include "crt.h" #include uint8_t get_hours() { time_t t; struct tm *tm; time (&t); tm = localtime (&t); return tm->tm_hour; }