Create LED strip based on SPI MOSI channel.
- Note
- Although only the MOSI line is used for generating the signal, the whole SPI bus can't be used for other purposes.
- Parameters
-
led_config | LED strip configuration |
spi_config | SPI specific configuration |
ret_strip | Returned 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_NOT_SUPPORTED: create LED strip handle failed because of unsupported configuration
- 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