Skip to content

NeoPixel — send buffer to tape (neopixel_write)

What it does: Sends the current contents of buffer np to the LED strip/matrix.

neopixel_write

Inputs

  • No data inputs.

Output

  • None (statement block).

When to use it

  • After one or more changes made by blocks neopixel_control or neopixel_5x5.
  • In each step of the animation, when you want to visually display the change.

Tips and pitfalls

  • Frequent calls on long tapes can slow down the loop.
  • It is efficient to change multiple pixels first and then call neopixel_write once.

Generated Python example

np.write()