Vary LED brightness via potentiometer | Cypress Semiconductor
Vary LED brightness via potentiometer
I would like to vary a LEDs brightness by twisting the potentiometer. As I think I need a SAR-ADC, a PWM and a digital output pin for this. I attached a screenshot from the modules I have. I don't know how to connect all these into a completely working system.
Any solutions could be helpful. :)
Thanks in advance!