Remove unused delacrations of time and newtime
Port to atmega328p