Lesson 44 · A LED with a potentiometer
✓ You already watched this lesson
The program is exactly the same as in the previous lesson, and only who writes in the box changes: before it was a widget on the screen, now it's a sensor.
🎯 The challenge of this lesson
Add a graph tied to the same box and turn the knob slowly: you'll see the ramp. Then swap the LED for a neopixel and feed the reading into its red channel, and notice how the color barely changes until the end.
Read the written page for this lesson →
Stuck on this lesson?
Write your question and another student — or the teacher — will answer. Your email is never published: it is only used to let you know when someone replies.
- Loading the questions…