Correct order of red/green LEDs

This commit is contained in:
Ben Nuttall
2017-05-01 16:16:55 +01:00
committed by Dave Jones
parent fe987aaa91
commit 09711f2ea6

View File

@@ -821,9 +821,9 @@ class StatusZero(LEDBoard):
""" """
def __init__(self, *labels, **kwargs): def __init__(self, *labels, **kwargs):
pins = ( pins = (
(4, 17), (17, 4),
(27, 22), (22, 27),
(10, 9), (9, 10),
) )
if len(labels) == 0: if len(labels) == 0:
labels = ['one', 'two', 'three'] labels = ['one', 'two', 'three']
@@ -863,11 +863,11 @@ class StatusBoard(CompositeOutputDevice):
""" """
def __init__(self, *labels, **kwargs): def __init__(self, *labels, **kwargs):
pins = ( pins = (
(4, 17, 14), (17, 4, 14),
(27, 22, 19), (22, 27, 19),
(10, 9, 15), (9, 10, 15),
(11, 5, 26), (5, 11, 26),
(6, 13, 18), (13, 6, 18),
) )
if len(labels) == 0: if len(labels) == 0:
labels = ['one', 'two', 'three', 'four', 'five'] labels = ['one', 'two', 'three', 'four', 'five']