diff --git a/GWalarm_screens.py b/GWalarm_screens.py index 5fd14559ecaff9f973eeab8c2627e7c0f76def26..d617c42ad96215bad7c9c75a7d85abe6cfbb16e8 100644 --- a/GWalarm_screens.py +++ b/GWalarm_screens.py @@ -735,6 +735,19 @@ class EventContainer(ButtonBehavior,GridLayout): def statusupdate(obj): global main_flag main_flag=0 + + if pixels: + def color_all(color): + for i in range(2,6): + pixels[i] = color + pixels.show() + time.sleep(1) + + startup_cycle = ((255,0,0),(0,255,0),(0,0,255)) + for col in startup_cycle: + color_all(col) + + print('Detector status LED init complete...') while True: data,stats,names = statusdetect()