LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control LEDs brightness and blinking

Hello,

 

I would like to control LEDs illumination and  brightness using Arduino UNO. I could control  separately  the duty cycle and the blinking but I could not achieve to make them work together. The goal of the program is to let the user to select the level of LED brightness (by selecting the duty cycle) and after that to make the LEDs able to blink at given frequency.

Here is an image of my circuit so far. I would be grateful if you could help me.

 

Thanks!

 

Duty cycle + LED blink.PNG 

0 Kudos
Message 1 of 3
(829 Views)

We cannot really debug pictures, especially if they are messy (hidden wires!) and potentially hide code inside other cases. For example, all you might need is the following. Why call a LED a "button" if it is an indicator?

 

altenbach_0-1695135555863.png

 

So, what problem are you trying to solve? What works? What doesn't?

 

0 Kudos
Message 2 of 3
(814 Views)

Hello,

 

Thank you for your message.

 

As I said before, I would like to be able to select the light intensity (through the pointer slide that is linked to the duty cycle icon) and with this intensity to control the LEDs blinking.

In my VI, there is no problem with LEDs blinking at a given frequency. Only the duty cycle part does not work. 

mmach27_0-1695210261097.png

 

 

 

0 Kudos
Message 3 of 3
(742 Views)