Hardware and software for a timer based on a rotary encoder