Lesson 44 · A LED with a potentiometer

Intermediate robotics · 5 min · See the playlist on YouTube ↗

✓ 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.

Practise in the app

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.

Before being published, every message goes through an automatic filter that rejects bad language and any attempt to intimidate another person.

  • Loading the questions…