edit leds whenever the servo moves
This commit is contained in:
parent
2390ded42d
commit
a3923171eb
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user