FastLED 3.9.15
Loading...
Searching...
No Matches

◆ led_strip_new_rmt_device()

esp_err_t led_strip_new_rmt_device ( const led_strip_config_t * led_config,
const led_strip_rmt_config_t * rmt_config,
led_strip_handle_t * ret_strip )

Create LED strip based on RMT TX channel.

Parameters
led_configLED strip configuration
rmt_configRMT specific configuration
ret_stripReturned LED strip handle
Returns
  • ESP_OK: create LED strip handle successfully
  • ESP_ERR_INVALID_ARG: create LED strip handle failed because of invalid argument
  • ESP_ERR_NO_MEM: create LED strip handle failed because of out of memory
  • ESP_FAIL: create LED strip handle failed because some other error