Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
4b7e5723ca |
@ -198,7 +198,7 @@ class lcdMenu:
|
||||
|
||||
# show a exit when there's no specific return value
|
||||
if not return_value: # if the return value is None / nothing was returned -> show a closing message
|
||||
while self.ok_btn.value() == 1: time.sleep(self.debounce_time) # wait till ok_btn release (e.g. if the "program" is a simple send action)
|
||||
while self.ok_btn.value() == 1: sleep(self.debounce_time) # wait till ok_btn release (e.g. if the "program" is a simple send action)
|
||||
self.lcd.move_to(0,0)
|
||||
if self.lcd.num_lines == 4:
|
||||
self.lcd.putstr(f"{self.fill_char*lw}{' '*lw*2}{self.fill_char*lw}") # fill the first and last line with 'fill_char's
|
||||
|
Loading…
Reference in New Issue
Block a user