From a3923171eb534542835d7c76fefa6526e29e6e17 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 19 Feb 2022 22:55:40 -0500 Subject: [PATCH] edit leds whenever the servo moves --- Code/Server/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code/Server/server.py b/Code/Server/server.py index 3bcdc3b..1c936e9 100644 --- a/Code/Server/server.py +++ b/Code/Server/server.py @@ -201,6 +201,8 @@ class Server: if data1==None or data2==None: continue self.servo.setServoPwm(data1,data2) + #self.led.ledIndex(1,data2,0,data2) + #self.led.ledIndex(8,data2,0,data2) except: pass