juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.59k stars 265 forks source link

Runs fine for a while on a 3.2 Waveshare model, but after about 2 mins, the screen goes white. I understand the library isnt exactly maintained. But any help is appriciated #326

Open shubhanshudixit opened 5 months ago

anmolss111 commented 1 month ago

I have been looking at this library recently and running things using a pi zero 2. The backlight off flag if enabled it switches the backlight off as well if the reset pin is provided.. this can help in power consumption if you put it in to a battery. DGPIO_TFT_BACKLIGHT

https://github.com/juj/fbcp-ili9341/blob/d0ebacf7c1f30b19b50997ebb67ba4f70ab95368/fbcp-ili9341.cpp#L168

I think the turn off display is called from there.

It works if there is constant input to the screen but blanks.. if we put a demon thread to observe it with input and usage you can restart fbcp on action.

Thinking of reading through the code it has so many possibilities this thing can go.