esp_lcd_panel_disp_sleep() function
Enter or exit sleep mode
Arguments
panel
LCD panel handle, which is created by other factory API like `esp_lcd_new_panel_st7789()`
sleep
True to enter sleep mode, False to wake up
Return value
- ESP_OK on success - ESP_ERR_NOT_SUPPORTED if this function is not supported by the panel