Use dissolve transition

This commit is contained in:
David Todd 2020-01-27 13:49:03 -06:00
parent 5e7d2774f0
commit 4eef181fa9

View File

@ -70,7 +70,7 @@ if not STA_IF.isconnected():
# If anything is connected, and it's been at least 30 seconds, clear the board # If anything is connected, and it's been at least 30 seconds, clear the board
def timeout(): def timeout():
if is_connected(STA_IF) or is_connected(AP_IF) and time.time() - time_connected > 30: if is_connected(STA_IF) or is_connected(AP_IF) and time.time() - time_connected > 30:
Pixo().clear() Pixo().transition_image_dissolve()
tim.deinit() tim.deinit()
# Check if the timeout is satisfied, every 30s # Check if the timeout is satisfied, every 30s