Lesson 50 · A random-colored neopixel

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

✓ You already watched this lesson

All the lessons in this module had a controller and a person making decisions. Today there's no controller, and that absence is the theme: chance sets the number.

🎯 The challenge of this lesson

Remove two of the three random blocks and leave only the red one: you'll see that the light now only travels through the red ones. Then set all three random blocks from zero to fifty and notice that all the colors come out turned off.

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…