Pico4ML: Turn off ST7735 display completely without modifying library?

Hi,

I’m posting here because I’m not entirely sure which forum is most appropriate, but it seems people are posting about the Pico HM01B0 boards here…

I would like to turn the ST7735 display off entirely and it looks like there is a command ST7735_DISPOFF (0x28) in the header file LCD_st7735.h as well as a function

static void ST7735_WriteCommand(uint8_t cmd)

but I can’t seem to call this from my main.cpp

Wondering if there is a simple way I’m not seeing to turn off the display with fiddling with the guts of this library. I always prefer to avoid doing that our I can never update my libraries etc. etc.

I need to do this before I enter low-power sleep mode.

Let me know!

-Drew Hamilton

Hi,
It is a direct way to turn off the display by calling the function static void ST7735_WriteCommand(uint8_t cmd) However, you said it can not work.
You can refer to the ST7735 datasheet because we have not tried this way.