LCD panel IO handle, which is created by other factory API like `esp_lcd_new_panel_io_spi()`
lcd_cmd
The specific LCD command, set to -1 if no command needed
param
Buffer that holds the command specific parameters, set to NULL if no parameter is needed for the command
param_size
Size of `param` in memory, in bytes, set to zero if no parameter is needed for the command
Return value
- ESP_ERR_INVALID_ARG if parameter is invalid - ESP_OK on success
Notes
Commands sent by this function are short, so they are sent using polling transactions. The function does not return before the command transfer is completed. If any queued transactions sent by `esp_lcd_panel_io_tx_color()` are still pending when this function is called, this function will wait until they are finished and the queue is empty before sending the command(s).