WPILibC++ 2024.3.2
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. More...
 
void HAL_FreeAddressableLED (HAL_AddressableLEDHandle handle)
 Free the Addressable LED Handle. More...
 
void HAL_SetAddressableLEDOutputPort (HAL_AddressableLEDHandle handle, HAL_DigitalHandle outputPort, int32_t *status)
 Set the Addressable LED PWM Digital port. More...
 
void HAL_SetAddressableLEDLength (HAL_AddressableLEDHandle handle, int32_t length, int32_t *status)
 Sets the length of the LED strip. More...
 
void HAL_WriteAddressableLEDData (HAL_AddressableLEDHandle handle, const struct HAL_AddressableLEDData *data, int32_t length, int32_t *status)
 Sets the led output data. More...
 
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. More...
 
void HAL_SetAddressableLEDSyncTime (HAL_AddressableLEDHandle handle, int32_t syncTimeMicroSeconds, int32_t *status)
 Sets the sync time. More...
 
void HAL_StartAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 Starts the output. More...
 
void HAL_StopAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 Stops the output. More...