WPILibC++ 2023.4.3
Addressable LED Functions

Functions

HAL_AddressableLEDHandle HAL_InitializeAddressableLED (HAL_DigitalHandle outputPort, int32_t *status)
 
void HAL_FreeAddressableLED (HAL_AddressableLEDHandle handle)
 
void HAL_SetAddressableLEDOutputPort (HAL_AddressableLEDHandle handle, HAL_DigitalHandle outputPort, int32_t *status)
 
void HAL_SetAddressableLEDLength (HAL_AddressableLEDHandle handle, int32_t length, int32_t *status)
 
void HAL_WriteAddressableLEDData (HAL_AddressableLEDHandle handle, const struct HAL_AddressableLEDData *data, int32_t length, int32_t *status)
 
void HAL_SetAddressableLEDBitTiming (HAL_AddressableLEDHandle handle, int32_t lowTime0NanoSeconds, int32_t highTime0NanoSeconds, int32_t lowTime1NanoSeconds, int32_t highTime1NanoSeconds, int32_t *status)
 
void HAL_SetAddressableLEDSyncTime (HAL_AddressableLEDHandle handle, int32_t syncTimeMicroSeconds, int32_t *status)
 
void HAL_StartAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 
void HAL_StopAddressableLEDOutput (HAL_AddressableLEDHandle handle, int32_t *status)
 

Detailed Description

Function Documentation

◆ HAL_FreeAddressableLED()

void HAL_FreeAddressableLED ( HAL_AddressableLEDHandle  handle)

◆ HAL_InitializeAddressableLED()

HAL_AddressableLEDHandle HAL_InitializeAddressableLED ( HAL_DigitalHandle  outputPort,
int32_t *  status 
)

◆ HAL_SetAddressableLEDBitTiming()

void HAL_SetAddressableLEDBitTiming ( HAL_AddressableLEDHandle  handle,
int32_t  lowTime0NanoSeconds,
int32_t  highTime0NanoSeconds,
int32_t  lowTime1NanoSeconds,
int32_t  highTime1NanoSeconds,
int32_t *  status 
)

◆ HAL_SetAddressableLEDLength()

void HAL_SetAddressableLEDLength ( HAL_AddressableLEDHandle  handle,
int32_t  length,
int32_t *  status 
)

◆ HAL_SetAddressableLEDOutputPort()

void HAL_SetAddressableLEDOutputPort ( HAL_AddressableLEDHandle  handle,
HAL_DigitalHandle  outputPort,
int32_t *  status 
)

◆ HAL_SetAddressableLEDSyncTime()

void HAL_SetAddressableLEDSyncTime ( HAL_AddressableLEDHandle  handle,
int32_t  syncTimeMicroSeconds,
int32_t *  status 
)

◆ HAL_StartAddressableLEDOutput()

void HAL_StartAddressableLEDOutput ( HAL_AddressableLEDHandle  handle,
int32_t *  status 
)

◆ HAL_StopAddressableLEDOutput()

void HAL_StopAddressableLEDOutput ( HAL_AddressableLEDHandle  handle,
int32_t *  status 
)

◆ HAL_WriteAddressableLEDData()

void HAL_WriteAddressableLEDData ( HAL_AddressableLEDHandle  handle,
const struct HAL_AddressableLEDData data,
int32_t  length,
int32_t *  status 
)