Changed timer clock to 1 MHz