How to use a timer inside a timer function?
I need to use a timer inside an OnTimer function.
I want to temporize a 20 mSec. delay to allow data arrive from a serial port.
Printable View
How to use a timer inside a timer function?
I need to use a timer inside an OnTimer function.
I want to temporize a 20 mSec. delay to allow data arrive from a serial port.
#define IDT_TIMER1 200
...
SetTimer( IDT_TIMER1, 100, NULL ) //1000 ms.
...