timer 1 working with desired frequency