Add Test mode usermod to load pattern on multi-button hold #4086
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 usermod allows you to load a specific test pattern (brightness, color, effect, palette) by holding down a designated number of buttons.
It was developed for quality control on pre-assembled QuinLED boards with PWM outputs to control "dumb" LEDs.
To test a digital output you can simply connect it to an addressable LED, which will either work properly or not.
This doesn't work with analog outputs, because the MOSFET can fail "closed" and thus still light up the LED. The whole dimming range must be tested.
The test pattern is triggered by holding down multiple buttons, and then automatically disables itself so that it can be used on first boot on the assembly line and then be invisible to the user. If for some reason the user wants to test the outputs with the pattern, they can manually enable the usermod again.