I want to clear the display to type new commands after the preview screen.
Is there a direct command to clear the lcd?
Full buffer mode: u8g2.clear() will work, but u8g2.clearBuffer() might be sufficient
Page buffer mode: display is automatically cleared once you enter the loop again.
Basically u8g2.clear() will clear the screend independently from the mode, but may take some extra time.
will this work also in the old library u8g?
U8g only supports page buffer mode. An empty page loop will clear the screen.
I see.
Thank you for your instant support :D
:)
Most helpful comment
Full buffer mode: u8g2.clear() will work, but u8g2.clearBuffer() might be sufficient
Page buffer mode: display is automatically cleared once you enter the loop again.
Basically u8g2.clear() will clear the screend independently from the mode, but may take some extra time.