Light up a neopixel by mixing red, green and blue with the Neopixel block.

This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on.


The steps

  1. We create a neopixel called light, with 1 led, on pin 6.
  2. We add a While loop, which repeats forever.
  3. Inside the loop we drop the neopixel block.
  4. We turn its red up to 255.
  5. And the blue to 255 as well, so the light comes out purple.

When you finish, the app takes you straight to the next tutorial in the path.

Build it in Nairda