Re: LCD display power on and off

2021-10-12 Thread Gregory Nutt
What would be the best way to access this setpower() kernel function for the display via the application space? Normally that would be done inside of logic in board/xx/xx/src using the Power Management (PM) callback logic.  There is an example here: https://github.com/apache/incubator-nuttx/b

Re: LCD display power on and off

2021-10-12 Thread Gregory Nutt
I'm using a framebuffer to display data on an SSD1306 display via NuttX. During a low power mode I need to disable the screen to save power. Actually it would be better to uninitialize the display before the power down. I see that the OS has functions in the kernel to turn off or on the displa