09-19-2023 09:03 AM
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!
09-19-2023 10:00 AM
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?
So, what problem are you trying to solve? What works? What doesn't?
09-20-2023 06:45 AM
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.