adding clear screen fix to the display.

This commit is contained in:
Lucas
2022-03-31 01:45:08 -04:00
parent ace5b88705
commit 3d21f96959
+1
View File
@@ -41,6 +41,7 @@ def format_text(text):
def update_display(color, text, cursor = False, blink = False): def update_display(color, text, cursor = False, blink = False):
text = format_text(text) text = format_text(text)
lcd.clear()
lcd.color = color lcd.color = color
lcd.message = text lcd.message = text
lcd.cursor = cursor lcd.cursor = cursor