Commit 30389560 authored by Paolo Baesso's avatar Paolo Baesso

Led now can be controlled independently. KITT is still riding...

parent f435e8b9
......@@ -116,7 +116,32 @@ class TLU:
self.pwdled.setVch(1, 0.9, True)
self.pwdled.setVch(2, 0.8, True)
self.pwdled.setVch(3, 0.1, True)
self.pwdled.setIndicatorRGB(2, [1, 0, 1])
self.pwdled.setIndicatorRGB(1, [0, 0, 1])
self.pwdled.setIndicatorRGB(2, [0, 0, 1])
self.pwdled.setIndicatorRGB(3, [0, 0, 1])
self.pwdled.setIndicatorRGB(4, [0, 0, 1])
self.pwdled.setIndicatorRGB(5, [0, 0, 1])
self.pwdled.setIndicatorRGB(6, [0, 0, 1])
self.pwdled.setIndicatorRGB(7, [0, 0, 1])
self.pwdled.setIndicatorRGB(8, [0, 0, 1])
self.pwdled.setIndicatorRGB(9, [0, 0, 1])
self.pwdled.setIndicatorRGB(10, [0, 0, 1])
self.pwdled.setIndicatorRGB(11, [0, 0, 1])
#self.pwdled.allGreen()
#time.sleep(0.5)
#self.pwdled.allRed()
#time.sleep(0.5)
#self.pwdled.allBlue()
#time.sleep(0.5)
self.pwdled.allBlack()
time.sleep(0.5)
#self.pwdled.allWhite()
#time.sleep(0.5)
self.pwdled.kitt()
self.pwdled.kitt()
self.pwdled.kitt()
self.pwdled.kitt()
##################################################################################################################################
##################################################################################################################################
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment