File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,14 @@ class Leds(object):
4545 The BrickPi LEDs.
4646 """
4747
48- # ~autogen led-colors platforms.brickpi.led>currentClass
48+ blue_led1 = Led (name_pattern = 'led1:blue:brick-status' )
49+ blue_led2 = Led (name_pattern = 'led2:blue:brick-status' )
4950
50- blue_led1 = Led ( name_pattern = 'brickpi:led1:blue:ev3dev' )
51- blue_led2 = Led ( name_pattern = 'brickpi:led2:blue:ev3dev' )
51+ LED1 = ( blue_led1 , )
52+ LED2 = ( blue_led2 , )
5253
53- LED1 = ( blue_led1 , )
54- LED2 = ( blue_led2 , )
55-
56- BLACK = ( 0 , )
57- BLUE = ( 1 , )
54+ BLACK = (0 ,)
55+ BLUE = (1 ,)
5856
5957 @staticmethod
6058 def set_color (group , color , pct = 1 ):
@@ -90,6 +88,3 @@ def all_off():
9088 """
9189 Leds .blue_led1 .brightness = 0
9290 Leds .blue_led2 .brightness = 0
93-
94-
95- # ~autogen
You can’t perform that action at this time.
0 commit comments