SetMomentaryBlink method with two colored LED
SetMomentaryBlink method with two colored LED
SetMomentaryBlink() is a very convenient method to visualize a trigger pulse with a LED. But used with a "Blue And Red" LED, only blue LED color is available. I know, there are other ways to solve the problem, but I'd like to know, if anybody knows a simple solution.
- Waverley Instruments
- Posts: 147
- Joined: Thu May 05, 2022 2:10 pm
Re: SetMomentaryBlink method with two colored LED
FWIW, I tend to do all that stuff by setting boolean flags for each trigger in ProcessSample() then in the GUI update timer notification, picking those up, set the LED value as needed, then reset the flag(s).
So your "momentary blink" is the length of the update timer frequency - 50ms if memory serves.
-Rob
So your "momentary blink" is the length of the update timer frequency - 50ms if memory serves.
-Rob
Re: SetMomentaryBlink method with two colored LED
Well, I did a similiar thing with a named timer.