I want to test a code which is designed for running on a Microcontroller and it is platform independent.
Problem is I currently don’t have any Embedded simulator (due to some damn reason!) and I want to test it… I am using Visual Studio 2008 (What a Pity!!)…. Code is entirely in C but as VS 2008 doesn’t support C, I have stored files as .cpp…. But No C++ concept is used!!
What all I require is a Timer which would generate Interrupt after every 1 millisecond!
And One more thing…. Can I configure something so that an Interrupt will be generated if I press certain key on Keyboard….
I don’t want to make GUI. I searched for Timers and all were for MFC application…. If there isn’t any option, I will make a rough MFC…
Regards!!
For high precision timers the your best bet is probably
CreateTimerQueueTimer(not used personally).Personally I used to use
timeSetEventbut that was way back years and years ago.