QMK/TMK works very well and is very easy to setup for someone who has very little real programming experience. I plan to put out a build-log to help others who may want to try. It's been a real journey and I've learned a lot.
I had a question to anyone who has experience working with the TMK firmware code regarding LED control.
The PCB uses an ATMEGA32U4. The PCB has two sets of LEDs:
- Numlock in-switch LED
- All other in-switch LEDs and LEDs on the perimeter of the underside of the PCB
Does anyone know how to designate a control pin for the backlight LED code in TMK?
The Numlock LED is controlled independently. I probed the path for the diode/resistor for the numlock key numerous times and I'm almost 100% this is correct: the signal for the numlock LED flows from the VBus (Pin 7 - "USB VBUS monitor input" according to spec. sheet) and ends at port PD6 (Pin 26). Can anyone explain why the designer would do this and how I could control the Numlock LED in this configuration?
How would you control an LED with power flowing from VBUS to PD6 pins on ATMEGA32u4?
I appreciate any and all help I can get from your experts! If I need to provide any additional details, I will be more than happy to!
Feel free to move this post to a more appropriate forum!
Thanks!