I was wondering the most efficient way to produce a "pulse train" in a .NET program.
I need an adjustable on off pulse, typically 1000ms on 500 ms off to drive a flashing output. My thought was to use VB.NET Background worker and put the thread to sleep for ech of the time and use the update progress method o flip a bolean that the rest of my program can read.
Is there a more efficient way?
(.NET 2.0 Framework)