Back to Parent

The first exercise is to combine a switch and potentiometer. The switch should turn on and off the light while the potentiometer will fade up and down the light (but only when it's on). However, it is hard to take a picture/video to show me pressing the pushbutton and adjust the potentiometer at the same time. So here I only show the picture of adjusting the potentiometer to dim the light while the code combined the two together.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0