mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix incorrect example, use dict.values() not just dict
This commit is contained in:
@@ -580,7 +580,7 @@ class XmasTree(LEDBoard):
|
|||||||
|
|
||||||
tree.star.on()
|
tree.star.on()
|
||||||
|
|
||||||
for bauble in tree.baubles:
|
for bauble in tree.baubles.values():
|
||||||
bauble.source_delay = 0.1
|
bauble.source_delay = 0.1
|
||||||
bauble.source = random_values()
|
bauble.source = random_values()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user