adding clear screen fix to the display.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user