From 9c890575924825b258d586f3bf223125008945f2 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 19 Aug 2024 16:40:33 +0100 Subject: [PATCH] Added lighting cues JSON item in clock.json --- clock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clock.py b/clock.py index 661d0f1..be27e58 100755 --- a/clock.py +++ b/clock.py @@ -39,10 +39,11 @@ class clock(): # dynamic variables self.cues = Array("I", [0]) - self.current_position = Value("I", 0) self.last_position = Value("I", 0) + self.current_position = Value("I", 0) + self.target_position = Value("I", 0) self.movement_speed = Value("I", 10) - self.function = Value("u", "linear") + self.function = Array("u", "linear") get_loop = Process(target=self.get(), daemon = True) move_loop = Process(target=self.move(), daemon = True) -- 2.39.2