![]() |
HitLib 1.5.0
VEX V5 LED animation library for PROS
|
A WS2812B strip on one ADI port, either the brain's own or an ADI expander's. More...
#include <platform.hpp>
Public Member Functions | |
| AdiLed (uint8_t smartPort, uint8_t adiPort, uint8_t length) | |
| ~AdiLed () | |
| AdiLed (const AdiLed &)=delete | |
| AdiLed & | operator= (const AdiLed &)=delete |
| void | write (const uint32_t *pixels, uint8_t count) |
Send count 0xRRGGBB colors to the strip, starting at LED 0. | |
A WS2812B strip on one ADI port, either the brain's own or an ADI expander's.
| hitlib::platform::AdiLed::AdiLed | ( | uint8_t | smartPort, |
| uint8_t | adiPort, | ||
| uint8_t | length ) |
| smartPort | Smart Port of the ADI expander (1-21), or 0 for the brain's built-in ADI ports. |
| adiPort | ADI port (1-8). |
| length | Number of LEDs. |
| hitlib::platform::AdiLed::~AdiLed | ( | ) |
|
delete |
| void hitlib::platform::AdiLed::write | ( | const uint32_t * | pixels, |
| uint8_t | count ) |
Send count 0xRRGGBB colors to the strip, starting at LED 0.