the rtm_items array that is passed to the rmt_fill_tx_items() functions seems to need the last element of the array to be set to 0 (duration0 and duration1) so that it is recognized as some sort of "end-marker". With such last element set to 0, the RMT module works in the lo...
* * @return * - ESP_ERR_INVALID_ARG Parameter error * - ESP_OK Success */ esp_err_t rmt_fill_tx_items(rmt_channel_t channel, const rmt_item32_t *item, uint16_t item_num, uint16_t mem_offset); /** * @brief Initialize RMT driver * * @param channel RMT channel * @param ...
esp_err_t rmt_fill_tx_items(rmt_channel_t channel, const rmt_item32_t *item, uint16_t item_num, uint16_t mem_offset) Fill memory data of channel with given RMT items. Return ESP_ERR_INVALID_ARG Parameter error ESP_OK Success Parameters channel: RMT channel (0 - 7) item: Poi...