NeoPixel Display Bar — image 2 of 4

gaming_MakeCode_Arcade_and_Adafruit_Learning_System.jpg
details

Add Extension

First, open the Advanced category section and click on the Extensions item.

Next, click on the light extension, which adds the blocks we need.

Click the Light category to see the available blocks.

In order to simply light up the five NeoPixels on, say, the PyGamer, here's one arrangement that'll do that.

  • set pixels length to 5 pixels
  • set brightness to 10
  • set all pixels to magenta

By setting the proper pixel length of the strip we can then use the graphing, animation, and other blocks accurately.

Back

Search