mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Correct order of red/green LEDs
This commit is contained in:
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user