LCD-show icon indicating copy to clipboard operation
LCD-show copied to clipboard

Brightness control by software ( MPI7002 )

Open lukecanny opened this issue 4 years ago • 3 comments

Is there an interface to interact with the MPI7002 7" Touchscreen backlight through software? I read on this page that there is no hardware to realise the software control for another model touchscreen. Thank you.

lukecanny avatar Apr 01 '21 14:04 lukecanny

do you found any solution?

almirus avatar Nov 10 '21 17:11 almirus

Maybe it is offtopic, but for some it might be useful.

My usage of display is as HTML page so I came up with this easy workaround using CSS and Javascript by creating black overlay over page with initial opacity 0 (which is invisible). Then you are able to control brightness via changing opacity from 0 (100% brightness) to 0.8 (20% brightness), via button, websocket, AJAX, etc.

I've created simple demo on Fiddle, https://jsfiddle.net/DJTommek/ovugep7r/ including persisting brightness after page refresh.

DJTommek avatar Nov 10 '21 22:11 DJTommek

do you found any solution?

No, it is not possible it seems. @almirus

Maybe @DJTommek 's response is applicable. I have not looked into it.

lukecanny avatar Dec 23 '21 01:12 lukecanny