From 9b7fed03c7efd4bcc6f1179c401793b43df7f89b Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Mon, 8 May 2023 19:54:58 +0530 Subject: dispip: Timing problem in clearing screen 2 --- lcd-ipaddress-display/dispip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcd-ipaddress-display/dispip.py b/lcd-ipaddress-display/dispip.py index 0488135..bca3041 100644 --- a/lcd-ipaddress-display/dispip.py +++ b/lcd-ipaddress-display/dispip.py @@ -15,6 +15,6 @@ try: display.lcd_display_string(str(IP), 2) # Display the IP address on the second line except KeyboardInterrupt: # If there is a KeyboardInterrupt (when you press ctrl+c), exit the program and cleanup - sleep(.2) print("Cleaning up!") + sleep(.4) display.lcd_clear() -- cgit v1.2.3