edit leds whenever the servo moves

This commit is contained in:
Paul Trowbridge 2022-02-19 22:55:40 -05:00
parent 2390ded42d
commit a3923171eb

View File

@ -201,6 +201,8 @@ class Server:
if data1==None or data2==None: if data1==None or data2==None:
continue continue
self.servo.setServoPwm(data1,data2) self.servo.setServoPwm(data1,data2)
#self.led.ledIndex(1,data2,0,data2)
#self.led.ledIndex(8,data2,0,data2)
except: except:
pass pass