void wait_period(void); int map(int value, int old_min, int old_max,int new_min, int new_max); void setupTimer(void);