#include #include "clock.h" void init_clock() { // use the 16-bit Timer/Counter1 with 1024x prescaling TCCR1B = _BV(CS12)|_BV(CS10); // CLK/1024 }