Hello
I write an example of fade-out and fade-in for single LED. A hardware clock which is routed to DO is used. The Diode will constantly fade-out and fade–in where steps and times can be adjusted. For single LED this works perfect. An M or X series DAQ is predicted (USB M 6251 or USB X 6351)
The problem is that in real application (User Interface (UI) with LCD) a three LED’s will be used, which are connected on three lines and only one LED is active at a time (to reduce the cables two LED’s are connected in opposite direction). PWM frequency will be 1 kHz and each 10 ms next LED is active (cyclic trough LED each 10 ms: LED1, LED2, LED3, LED1, LED2, …………. ……). Schematic is attached and is fixed (also some pushbuttons are connected but they are not relevant at the moment).
Could you give me some hint or similar example how to transform/multiply this functionality (PWM with Duty ration) to three LED’s (which are works in sequence) with hardware clock of 1 kHz. Timing must be precise, since user should not detect any flickering on UI.