adkron / grovepi

Use the GrovePi in Elixir
Apache License 2.0
47 stars 9 forks source link

WIP: DO NOT MERGE Basic button idea #1

Closed adkron closed 7 years ago

adkron commented 7 years ago

This is just an idea, but I need a registery which I think I can use one registery with more than one button to dispatch to. I can register with a key of {:pressed, pin_num} or {:released, pin_num} and have a nive named registery. Each pin would then have its own loop and handler.

Amos King @adkron amos@binarynoggin.com Todd Pickell @tapickell todd@tap-software.com

I'm really looking for feedback. Please don't merge