summaryrefslogtreecommitdiff
path: root/lcd-ipaddress-display/dispip.py
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-05-08 19:54:58 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-05-08 19:54:58 +0530
commit9b7fed03c7efd4bcc6f1179c401793b43df7f89b (patch)
tree8fda830ae1b7b67e1e7f29d840639bcd85e74c20 /lcd-ipaddress-display/dispip.py
parent62272372a66399ce56297fa8aabea660c220a816 (diff)
dispip: Timing problem in clearing screen 2
Diffstat (limited to 'lcd-ipaddress-display/dispip.py')
-rw-r--r--lcd-ipaddress-display/dispip.py2
1 files changed, 1 insertions, 1 deletions
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()