-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Layer display on LED segment #775
Comments
MAX7219 |
Then have a look at led control code from Eberhard Fahle |
Fahle's LedControl code says "The code also works with the Teensy (3.1)" |
Problem here is power consumption vs led brightness. |
One goal of the Effect System, is to be able to do that. The keyboard will need some sort of LED controller though. The Infinity uses the 31FL3731C, but that's for monochrome LEDs. The MAX7219 is another option. For RGB LEDs, you need something else. The effect system will most likely expose the LEDs as an abstract display with individually addressable pixlels, so you could use for example normal font drawing algorithms to display some characters on them. |
I have modified an older version of the firmware to utilize a caps lock led as well as layer indication leds by putting this code in led.c and adding led.c to the sources:
I actually don't know the exact terminology for adding source files, this is how my old makefile handled importing files:
|
Ergodox does this by default now, with the option to do so with RGB underglow. qmk_firmware/keyboards/ergodox_ez/keymaps/default/keymap.c Lines 208 to 277 in 35b44ac
Closing. Please reopen or open a new issue, if this is still an issue. |
Yes please reopen, totally different issue that mrlinuxfish and you are considering. |
This should be possible, in theory. Though it depends on the hardware. The Helix board uses an LCD display and can display the current layer. |
@mecanogrh just an update on this. Yes, this should be possible, ESPECIALLY with the new LED Matrix feature. The only caveat is that the Ergodox Infinity would need to be converted to this code. https://docs.qmk.fm/#/feature_led_matrix?id=custom-layer-effects I'm using the equivalent for the RGB Matrix on my ergodox ez glow, and planck light. So it is definitely possible with the newer code. |
I think we can close this now - the implementation of this seems pretty straight-forward for personal cases. If anyone has code they can share, we can open a new issue/PR about how we can generalise it for a driver/etc in QMK. |
* colorway: add Deku, HammerHead, HyperFuse, Mecha-01, Suited Assassin * fix: code style issues * add: kat oasis, kat hyperfuse. remove gmk hyperfuse * remove: GMK Mecha-01, update key-contents * update: GMK Camping
Would it be possible with a teensy/teensy++ to display the function layer on a LED segment?
This came to me last night after looking at the ergodox infinity... it would be fairly easy to put a 1 digit LED segment block into common keyboard layouts and it would help a lot navigating the layers.
The text was updated successfully, but these errors were encountered: