Monobright support - #16
Open
jstefani wants to merge 3 commits into
Open
Conversation
Monobright grids (40h, series) only light leds with level > 7. The grid code draws with levels 1-4 (plus one 8), so almost nothing showed. Route all led writes through a wrapper: when the new PARAMS > MEADOWPHYSICS option is on, levels >= 3 become 15 and dim hints/ranges become 0. Off (default) passes levels through unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
'use monobright grid' now defaults to auto, which matches the 40h and pre-2011 series 64/128/256 serial prefixes (same list as cyrene). no/yes still override. Detection re-runs from draw() when the attached device changes identity, since grids attach after params are applied. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This add better support for monobright grids. It adds a menu item to set the grid type. By default it is set to "automatic" which read the connected grid name/id and sets monobright when detected.
Past that the chain is to set various grid cells to a level that the monobright displays.
Everything should work the same on varibright grids.