airgradienthq / arduino

Firmware of open-source hardware air quality monitors AirGradient ONE (indoor) and AirGradient Open Air (outdoor).
https://www.airgradient.com/documentation/
Other
218 stars 115 forks source link

Added support clearing display at 0 brightness for DIY Boards #241

Closed DmitryPustovit closed 1 month ago

DmitryPustovit commented 1 month ago

Heya!

Currently, the only affect the brightness setting has with the DIY boards is an attempt to set the contrast. Setting the contrast to 0 does not have any effect. This appears to be a known limitation for these display boards. Instead clearing the display buffer and calling show to display a blank screen.

Personal quality of life feature that I've been using that I figured I would attempt to add.

Assuming this repo welcome contributions, if not let me know!

Thanks in advance!