WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
AddressableLED.h File Reference
#include <stdint.h>
#include "wpi/hal/AddressableLEDTypes.h"
#include "wpi/hal/Types.h"

Go to the source code of this file.

Functions

HAL_AddressableLEDHandle HAL_InitializeAddressableLED (int32_t channel, const char *allocationLocation, int32_t *status)
 Creates a new instance of an addressable LED.
void HAL_FreeAddressableLED (HAL_AddressableLEDHandle handle)
 Free the Addressable LED Handle.
void HAL_SetAddressableLEDStart (HAL_AddressableLEDHandle handle, int32_t start, int32_t *status)
 Sets the start buffer location used for the LED strip.
void HAL_SetAddressableLEDLength (HAL_AddressableLEDHandle handle, int32_t length, int32_t *status)
 Sets the length of the LED strip.
void HAL_SetAddressableLEDData (int32_t start, int32_t length, HAL_AddressableLEDColorOrder colorOrder, const struct HAL_AddressableLEDData *data, int32_t *status)
 Sets the led output data.