adafruit / Adafruit_CircuitPython_CLUE

A high-level library representing all the features of the Adafruit CLUE
MIT License
32 stars 20 forks source link

Added clue_ams_remote.py #14

Closed evaherrada closed 4 years ago

evaherrada commented 4 years ago

Was experimenting with using buttons and capacitive touch as a remote using ams to add to pyloton. I thought the test code I wrote could be quite useful, so I'm PRing it. Didn't really want to add displayio to keep it simple and increase responsiveness, although adding that wouldn't take a whole lot of time to do.

evaherrada commented 4 years ago

@kattni I made a version of this on a branch using displayio. It looks pretty cool and I was able to add a visual volume indicator and a visual track time indicator, but it is probably a bit more complex than we'd want for an example. Link if you're interested

kattni commented 4 years ago

@dherrada Make a folder in examples called advanced_examples, rename the advanced example to something other than the same as this one, and feel free to include it that way. There are "duplicate" examples on the Circuit Playground library that are more advanced versions of similar things, so we can do that here as well. You can include it in this PR if you'd like. I'll hold off on approving until you decide.

evaherrada commented 4 years ago

@kattni I made the requested changes