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:
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?