mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Fix TrafficHat numbering to match promo photos, re: #65
This commit is contained in:
@@ -279,7 +279,7 @@ class TrafficHat(TrafficLightsBuzzer):
|
|||||||
"""
|
"""
|
||||||
def __init__(self, pwm=False):
|
def __init__(self, pwm=False):
|
||||||
super(TrafficHat, self).__init__(
|
super(TrafficHat, self).__init__(
|
||||||
TrafficLights(22, 23, 24, pwm=pwm),
|
TrafficLights(24, 23, 22, pwm=pwm),
|
||||||
Buzzer(5),
|
Buzzer(5),
|
||||||
Button(25),
|
Button(25),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user