rmt_new_ir_nec_encoder() function
Create RMT encoder for encoding IR NEC frame into RMT symbols
Arguments
config
Encoder configuration
ret_encoder
Returned encoder handle
Return value
- ESP_ERR_INVALID_ARG for any invalid arguments - ESP_ERR_NO_MEM out of memory when creating IR NEC encoder - ESP_OK if creating encoder successfully