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

Add Test mode usermod to load pattern on multi-button hold #4086

Open
wants to merge 10 commits into
base: 0_15
Choose a base branch
from

Conversation

PaoloTK
Copy link

@PaoloTK PaoloTK commented Aug 3, 2024

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.

@blazoncek
Copy link
Collaborator

You can test brightness ramp using default behaviour of button 1 and color selection using button 0.
No additional code needed.

@PaoloTK
Copy link
Author

PaoloTK commented Aug 4, 2024

You can test brightness ramp using default behaviour of button 1 and color selection using button 0. No additional code needed.

The built in functionality wasn't enough for our needs. It requires multiple button presses which is complicated on the assembly line and increases cost, and the color cycle of button 0 doesn't include colors that light up the dedicated white chip(s) of RGBW or RGBCCT lights.

@softhack007 softhack007 added the usermod usermod related label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usermod usermod related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants