timer1 delay 1sec example on 8Mhz crystal with frequency counting with polling