hi well i want to initialize timer 0 as a counter but i dont know how to do it by writing a c program in keil that is i want to do specific task after specific interval like start motor after 10s the stop is in 6 sec and the after 20 sec start another application well i did use for loop but its not working precisely so pls tell me how to initiallize timer precisely