From 6cff7ddf435fc4f973e94a27b3880028a6da6752 Mon Sep 17 00:00:00 2001 From: Tanaes Date: Sat, 6 Aug 2022 12:06:33 -0400 Subject: [PATCH] testing --- dotstar_watcher.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dotstar_watcher.py b/dotstar_watcher.py index fcbe1be..ad38654 100644 --- a/dotstar_watcher.py +++ b/dotstar_watcher.py @@ -106,9 +106,9 @@ async def main(): substrip_len = ceil(dotstar_num/3.0) - # strip_left = PixelSubset(pixels, - # 0, - # substrip_len) + strip_left = PixelSubset(pixels, + 0, + substrip_len) # strip_right = PixelSubset(pixels, # dotstar_num - substrip_len, @@ -122,8 +122,10 @@ async def main(): kiln_status)) check_task = asyncio.create_task(update_status(kiln_status)) + l_blink = Blink(strip_left, speed=0.5, color=PURPLE) + l_blink.animate() + await asyncio.gather(check_task, top_task) -if __name__ == "__main__": - asyncio.run(main()) +asyncio.run(main())