Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leds #8

Merged
merged 15 commits into from
Jan 5, 2020
Merged

Leds #8

merged 15 commits into from
Jan 5, 2020

Conversation

rubberduck203
Copy link
Owner

No description provided.

This unnecessarily takes ownership of the entire gpioe port.
Clarifies  type and ensures we're being explicit about the types
This loses type the type safety of ensuring we init the struct with
the correct port pin, but makes the code much easier to write & reason
about.

I'm happy to make this trade off since I'm providing the init method and
can manually verify the one instantiation of the leds.
@rubberduck203 rubberduck203 merged commit 2cfe53e into master Jan 5, 2020
@rubberduck203 rubberduck203 deleted the leds branch January 5, 2020 21:37
@rubberduck203 rubberduck203 restored the leds branch January 11, 2020 10:45
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.

None yet

1 participant