(Tested on v2.0.0-dev10 but also present in earlier versions)
Bugs
- Task settings contains an entry "Rotation" with values "Normal" and "Rotated". The values are working reversed however.
"Normal orientation of the SSD1306 display is when the pins are on top (which can easily be seen from the text under the pins). However using the value "Normal" displays the text 180 degrees rotated but not normal.
This is a bug that exists for long time already. It should be fixed because it is incorrect so that future firmware versions will use the correct behavior.
- When enabling a SSD1306 display device text gets instantly displayed. However, disabling the device does not work properly: it leaves the last text on the display. It does not shut off the display which is a bug. (Even disabling the display and then rebooting the node does not remove the text from the display, which is awkward. One has to physically power-down the device before the text gets removed.)
- 'Orientation' is a better name for the currently used 'Rotated'. Instead of 'Rotated' with values 'Normal' and 'Rotated' I prefer the more common 'Orientation' with values 'Normal' and 'Rotated 180 degrees'. They are more common, more self explanatory, more consistent and leave room for possible future expansion (e.g. 'Rotated 90 degrees CW' and 'Rotated 90 degrees CCW').
- Enabling the display puts it on, similarly disabling it should shut it of.
Apart from disable/turn off it would be possible to add a (programmable) freeze state: if freeze is selected the display will not be further updated until freeze is deselected again. This should of course work instantly and not require reboots or powering-down the node.