Two tasks: making an LED fade by turning a potentiometer and making it blink at different rates using the same device.

Pictures of the setup:

And here’s the action! (featuring the brand new opening credits)

First the fading:

Then the blinking: