From 4eef181fa97929ee53b86b055dea18fce7a08214 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 27 Jan 2020 13:49:03 -0600 Subject: [PATCH] Use dissolve transition --- pixo/wifi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixo/wifi.py b/pixo/wifi.py index d499edd..ad31a8c 100644 --- a/pixo/wifi.py +++ b/pixo/wifi.py @@ -70,9 +70,9 @@ if not STA_IF.isconnected(): # If anything is connected, and it's been at least 30 seconds, clear the board def timeout(): if is_connected(STA_IF) or is_connected(AP_IF) and time.time() - time_connected > 30: - Pixo().clear() + Pixo().transition_image_dissolve() tim.deinit() # Check if the timeout is satisfied, every 30s tim = Timer(-1) -tim.init(period=30000, mode=Timer.PERIODIC, callback=lambda t:timeout()) \ No newline at end of file +tim.init(period=30000, mode=Timer.PERIODIC, callback=lambda t:timeout())