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

Legacy adapter for varibright `/level` messages #44

Merged
merged 2 commits into from May 7, 2016

Conversation

@rknLA
Copy link

@rknLA rknLA commented May 7, 2016

This is a (mostly) working proof-of-concept to provide older devices with some LED feedback for the varibright /led/level/** OSC messages.

Right now, it's only implemented for series, but it could be pretty easily added to 40h.

I'm not 100% sure how accurate it is in the bitmapping stage: /grid/led/level/row and /grid/led/level/col seem to do the right thing, but /grid/led/level/map is drawing upside down.

There's also a somewhat arbitrary decision here to use the 50% point as the threshold (i.e. anything "low intensity" stays off, and anything "medium" or "high" intensity turns on). It might make more sense to make this configurable, so it could be set by serialosc, and therefore by a serialosc config on a per-device basis.

@MylesBorins
Copy link
Contributor

@MylesBorins MylesBorins commented May 7, 2016

@wrl wrl merged commit c74ae4a into monome:master May 7, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants