Skip to content
This repository has been archived by the owner on Dec 25, 2021. It is now read-only.

Polymorphic garage/door abstraction #8

Open
JakeWharton opened this issue Feb 20, 2021 · 2 comments
Open

Polymorphic garage/door abstraction #8

JakeWharton opened this issue Feb 20, 2021 · 2 comments

Comments

@JakeWharton
Copy link
Owner

The mini HAT has an LCD which could display something. The big HAT has LEDs that could flash on toggle or show state. All of these should be encapsulated behind a trait to allow a struct to function as a door and/or garage.

@JakeWharton
Copy link
Owner Author

No async fn in traits is a big buzzkill here...

@JakeWharton
Copy link
Owner Author

We have a polymorphic button now. The start of this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant