PPUC / ZeDMD

A real DMD for virtual pinball machines and PPUC driven real pinball machines
GNU General Public License v2.0
25 stars 3 forks source link

[Feature request] Automatic brightness via LDR photoresistor #56

Open ruenes1 opened 3 months ago

ruenes1 commented 3 months ago

Some ESP32-based boards meant for the HUB75 lib include a LDR photoresistor attached to pin 35 (or 34) to perform automatic brightness control according to ambient light.

An example of such boards is the ESP32-Trinity. Here it is an example of code from the board designer that uses the LDR to control brightness:

https://github.com/witnessmenow/ESP32-Trinity/tree/master/examples/TrinityFeatures/LDRAutoBrightness

And here are some instructions from another project also employing the ESP32-Trinity, the HUB75 lib and an LDR to control brightness

https://github.com/jnthas/clockwise/wiki/Connecting-the-LDR

Could LDR-based brightness be added to ZeDMD?

mkalkbrenner commented 1 month ago

Sounds like an interesting idea. Anyone who want to work on a PR?