mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fixed TrafficHat numbering to match promo photos etc.
This commit is contained in:
@@ -208,7 +208,7 @@ class TrafficHat(FishDish):
|
|||||||
Ryanteck Traffic HAT: traffic light LEDs, a button and a buzzer.
|
Ryanteck Traffic HAT: traffic light LEDs, a button and a buzzer.
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
red, amber, green = (22, 23, 24)
|
green, amber, red = (22, 23, 24)
|
||||||
super(FishDish, self).__init__(red, amber, green)
|
super(FishDish, self).__init__(red, amber, green)
|
||||||
self.buzzer = Buzzer(5)
|
self.buzzer = Buzzer(5)
|
||||||
self.button = Button(25)
|
self.button = Button(25)
|
||||||
|
|||||||
Reference in New Issue
Block a user