Is this a bug or normal? OLED Display
Posted: 09 Jan 2018, 07:54
I'm putting a door controller together and just for the hell of it I'm adding an OLED display to it. I'm writing a value to 1 line in the display based on the condition of 2 switches. There are 3 possible values I want and its working fine except for 1 minor detail. I'm using rules to send either "closed" open" or "moving" (based on the 2 switches at either 0 or 1).
The minor problem is if the display currently says "closed" (six letters) and the next value will be "open" (4 letters") what you end up with is "opened" (six letters where you want four)
When you write to the line it only replaces characters it needs to and does not erase the line first.
I tried to just send a command to write spaces but that won't work with rules. It does work from the serial command prompt though.
There is a clear command to wipe the entire display but does not appear to be one to clear just a particular line.
Is this normal, a bug or a feature request?
The minor problem is if the display currently says "closed" (six letters) and the next value will be "open" (4 letters") what you end up with is "opened" (six letters where you want four)
When you write to the line it only replaces characters it needs to and does not erase the line first.
I tried to just send a command to write spaces but that won't work with rules. It does work from the serial command prompt though.
There is a clear command to wipe the entire display but does not appear to be one to clear just a particular line.
Is this normal, a bug or a feature request?