Skip to content

Extension to christmastree.py#6

Open
jordandll wants to merge 1 commit intomodmypi:masterfrom
jordandll:jordandll-extension
Open

Extension to christmastree.py#6
jordandll wants to merge 1 commit intomodmypi:masterfrom
jordandll:jordandll-extension

Conversation

@jordandll
Copy link

Added two attributes that return only red and only green LEDs.

Partitioned the tuple of Led objects returned by LedCollection.leds into two tuples:  One for red LEDs; the other, for green LEDs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant