WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
AddressableLED.h File Reference
#include <stdint.h>
#include "hal/AddressableLEDTypes.h"
#include "hal/Types.h"

Go to the source code of this file.

Functions

HAL_AddressableLEDHandle HAL_InitializeAddressableLED (HAL_DigitalHandle outputPort, int32_t *status)
 Initialize Addressable LED using a PWM Digital handle.
 
void HAL_FreeAddressableLED (HAL_AddressableLEDHandle handle)
 Free the Addressable LED Handle.
 
void HAL_SetAddressableLEDColorOrder (HAL_AddressableLEDHandle handle, HAL_AddressableLEDColorOrder colorOrder, int32_t *status)
 Sets the color order for the addressable LED output.
 
void HAL_SetAddressableLEDOutputPort (HAL_AddressableLEDHandle handle, HAL_DigitalHandle outputPort, int32_t *status)
 Set the Addressable LED PWM Digital port.
 
void HAL_SetAddressableLEDLength (HAL_AddressableLEDHandle handle, int32_t length, int32_t *status)
 Sets the length of the LED strip.
 
void HAL_WriteAddressableLEDData (HAL_AddressableLEDHandle handle, const struct HAL_AddressableLEDData *data, int32_t length, int32_t *status)
 Sets the led output data.
 
void HAL_SetAddressableLEDBitTiming (HAL_AddressableLEDHandle handle, int32_t highTime0NanoSeconds, int32_t lowTime0NanoSeconds, int32_t highTime1NanoSeconds, int32_t lowTime1NanoSeconds, int32_t *status)
 Sets the bit timing.
 
void HAL_SetAddressableLEDSyncTime (HAL_AddressableLEDHandle handle, int32_t syncTimeMicroSeconds, int32_t *status)
 Sets the sync time.
 
void HAL_StartAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 Starts the output.
 
void HAL_StopAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 Stops the output.