N
nullbits•2mo ago
Shen

Shen - Hello, I'm sorry if the question has a...

Hello, I'm sorry if the question has already been asked. But I don't found an answer. I would want to disable the LED of my BIT-C (Atmega) with QMK.
#include "common/bitc_led.h"

void keyboard_pre_init_user(void) {
set_bitc_LED(LED_OFF);
}
#include "common/bitc_led.h"

void keyboard_pre_init_user(void) {
set_bitc_LED(LED_OFF);
}
But the include does not work 😦 An idea?
1 Reply
Shen
Shen•2mo ago
In fact it's not part of the QMK, the common/bitc_led.h/c have to be include. They are available in
nullbitsco/common
Here the solution: https://github.com/tcastelly/qmk_firmware/blob/4e6d1dec6966a421a9a951fa565f547b5210f9dc/keyboards/keyball/keyball44/keymaps/tcy/keymap.c#L537
GitHub
qmk_firmware/keyboards/keyball/keyball44/keymaps/tcy/keymap.c at 4e...
Open-source keyboard firmware for Atmel AVR and Arm USB families - tcastelly/qmk_firmware
Want results from more Discord servers?
Add your server