Lesson 48 · The neopixel with potentiometer

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

✓ You already watched this lesson

A color is three numbers, and each one goes from zero to two hundred fifty-five. Having a knob pick a color is a prettier problem than picking a brightness.

🎯 The challenge of this lesson

Add a third Map block to the green one, also on the right, and you'll see the color wash out toward white; then remove the one on blue and leave it at a fixed zero, and you'll have a red intensity knob.

Practise in the app

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…