NormallyClosed icon indicating copy to clipboard operation
NormallyClosed copied to clipboard

Polymorphic garage/door abstraction

Open JakeWharton opened this issue 4 years ago • 2 comments

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 avatar Feb 20 '21 03:02 JakeWharton

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

JakeWharton avatar Mar 01 '21 04:03 JakeWharton

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

JakeWharton avatar Apr 19 '21 03:04 JakeWharton