-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement idea: Add configuration option (setting) for DisplayContrast #567
Comments
You can alap just unplug the display after configuring. |
Agree on plugging out the display - but this leads to the log being basically unreadable: ₿ (73389942) i2c.master: s_i2c_synchronous_transaction(872): I2C transaction failed EDIT: |
Don't unplug or plug your display while the machine is powered on, that can easily break the display. No display option will probably come in the future, there's already a screen timeout in the works: #525 |
This might be difficult, as the Bitaxe doesn't know what time it is. There are two options for that:
Neither are really nice options. |
Agree, if "night time" is no option, maybe an alternative is an API call to disable the display (something like the restart button from the menu on the left side). Additionally a contrast Parameter could be helpful to reduce brightness?! |
I tested a bit, there is a contrast parameter. Unfortunately it's not built into the driver, so this would be custom code for this panel, which is a bit of a shame:
On my display it changes contrast a bit, but not on the range you would expect. Setting it to 0 is about half, maybe one third brightness compared to 255. Apparently it's configured with a resistor on the display? See: https://forums.adafruit.com/viewtopic.php?p=573606#p573606 Some people mentioned not all SSD1306 displays support contrast setting, so YMMV. |
I've opened an issue at esp to support contrast through their lcd drivers. espressif/esp-idf#15015 Maybe this ticket can be changed to add a screen contrast settings. That and #525, would that be ok to reduce the impact of the display at night? |
@mutatrum : Thank you very much for all your efforts here! I really appreciate it. |
No problem. Just renaming the title of this issue should be ok. |
Hi,
as some people might be running the device in their bedrooms and are somewhat sensitive to flashing lights the updating display could cause some issues during sleep. Maybe it would be a nice feature to enable some "night times" ( best would be configurable) at when the display is turned off (and on again the next morning) . Looking into the code there should be the option to call the commands against the display - either turning it off completely or reducing contrast.
The text was updated successfully, but these errors were encountered: