NeoPixel
Control color and brightness of RGB and RGBW Adafruit NeoPixel LED strip
Since R2024a
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Use the NeoPixel block to control the color and brightness of RGB or RGBW Adafruit® NeoPixel LED strip. Using the block, you can set the color of individual pixels for a three-color format (red–green–blue) or a four-color format (red–green–blue–white) NeoPixel strip. The block supports configuring a maximum of 1024 pixels on the NeoPixel LED strip.
Limitations
The NeoPixel block does not support the Arduino® Nano 33 BLE Sense board currently.
You can use up to
10
NeoPixel blocks in a Simulink® model and deploy the model to a Arduino board.If you use the NeoPixel block with the Input Capture, Servo Write, Standard Servo Read, SAMD Hardware Interrupt, AVR Hardware Interrupt, External Interrupt, or Encoder blocks in a Simulink model, the NeoPixel block might not behave as expected.
Ports
Input
Parameters
Version History
Introduced in R2024a