Basically that. The way I am doing it now is with the TimerA set to 1 second interrupts. But I think that it's very annoying. Are there any other ways to do it?

I want to basically set timers on that clock, like, shutdown until 40 seconds have passed... 


Question: C compiler supported by Windows 7
Answer: lcc-win32 is a free compiler for Windows.