Fixed TrafficHat numbering to match promo photos etc.

This commit is contained in:
Ryan Walmsley
2015-10-13 13:52:39 +01:00
parent 467ed0ddcd
commit f1771c1f05

View File

@@ -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)