Hello, I am trying to use an Uno to manipulate leds for a prototype of a multi sectional bar light that uses leds as well. The problem I am running into is the PWM seems to be too slow and you can noticeably see the lights franticly flickering. Also, to dim these leds, I am using POTs to control the duty cycle of the PWM and when any of the 3 POTs are turn to zero resistance, all the lights flicker much more franticly, but I do not understand why because all of them are connected to separate circuits. I do have stunt resistors attached as well. I would appreciate any help!
BrowPrototype.ino (1.5 KB)