-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers #14508
Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers #14508
Conversation
No support for the 3731? (I'm pretty sure the answer is no). Also, the 3218? |
Not that I can tell from looking at the datasheets. I didn't see any mention of de-ghosting built into the array. |
Actually the application note for 3731 mentions “0xC2 Ghost Image Prevention Register” in section Q20; for some reason the 3731 datasheet does not describe that register. |
Why the hell is that not in the datasheet.... Thanks for the heads up @sigprof, I'll add that in! It's a boolean for enabling the de-ghost on or off so I'm gonna have to setup a special define just for that IC |
Conflicts need to be resolved, other than that looks fine. |
) * Initial work for de-ghost enable * Dumb mistake with the redefine * Added Copywrite stuff on source files * Fixed whitespace errors * Added support for all ISSI LED drivers * Updated docs for support for ISSI LED driver pull-up pull-down * Applied clang format * Added 'boolean' flag to enable de-ghosting for the is31fl3731 IC * Fixed some of the grammer in the docs * Fixed comment placement and grammer of comment * Fixed whitespace errors from lint Co-authored-by: donicrosby <[email protected]>
Take two of #14281
Description
Currently RGB/LED matrixes for the various ISSI ICs have ghosting issues with the LEDs. Any LEDs used as indicators or just plain off in the matrix glow faintly which isn't ideal. I have added a option to be set in a keyboards config.h that allows for makers and users to enable the de-ghosting functions of the ICs for all of the drivers on the board so that this ghosting is eliminated.
I have set the default value to allow for ghosting (0 ohm resistor/de-ghosting settings off) so as to stay backwards compatible and not cause power issues with older boards.
The datasheet recommends enabling the highest resistor possible during the blanking time so there shouldn't be any dimming with the LEDs when they are on. If you want me to set that as the default (would make sense that you wouldn't want ghosting on the matrix) I can do that as well.
Types of Changes
Issues Fixed or Closed by This PR
Checklist