pub unsafe extern "C" fn esp_lcd_panel_disp_on_off(
    panel: esp_lcd_panel_handle_t,
    on_off: bool
) -> esp_err_t
Expand description

@brief Turn on or off the display

@param[in] panel LCD panel handle, which is created by other factory API like esp_lcd_new_panel_st7789() @param[in] on_off True to turns on display, False to turns off display @return - ESP_OK on success - ESP_ERR_NOT_SUPPORTED if this function is not supported by the panel