Time(r) Based Interrupt Routine?

  • Thread starter Thread starter JigglyBit
  • Start date Start date
J

JigglyBit

Guest
Hi,

I have an application set up where I am polling a MCU through a COM port and would like to do so with 1 second periodicity. Right now I am using Sleep() and it is horrendously inefficient and causes response delay in WndProc(). Does anyone know of a way to use a timer based interrupt to perhaps set a flag which then could then be evaluated for this purpose and allow other process tasks to still run in the background rather than halting thread execution?

Continue reading...
 
Back
Top