Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing (#1417)

This commit is contained in:
Northern Man authored and GitHub committed 2023-01-26 08:17:53 -06:00
1 parent 6e3e8c3330
commit 150603555c
4 files changed
+249 -146

No files matched your search

+19 -1
View File
@@ -123,4 +123,22 @@ The mqtt command to change the units is:
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoSSD1306 -m '{"display-metric":false}'`
Please note that it may take several seconds/display updates for the units to change. This is due to the queueing of messages for display.
Please note that it may take several seconds/display updates for the units to change. This is due to the queueing of messages for display.
### Flip Display 180 degrees
This allows you to rotate the display 180 degrees. Can be set at compile time or during use, defaults to true.
The compiler directive is `-DDISPLAY_FLIP=false`
The mqtt command to change display orientation is:
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoSSD1306 -m '{"display-flip":false}'`
Please note that it may take several seconds/display updates for the display to change. This is due to the queueing of messages for display.
### Display OpenMQTTGateway Logo when Idle
When this option is enabled the OLED display will show the OpenMQTTGateway Logo when it is idle. Defaults to false
The compiler directive is `-DDISPLAY_IDLE_LOGO=true`