mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 21:08:38 +06:00
26 lines
333 B
C
26 lines
333 B
C
|
#include "2x5keypad.h"
|
||
|
|
||
|
|
||
|
void matrix_init_kb(void)
|
||
|
{
|
||
|
matrix_init_user();
|
||
|
|
||
|
setPinOutput(RED_LED);
|
||
|
setPinOutput(BLUE_LED);
|
||
|
setPinOutput(GREEN_LED);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void turn_off_leds(void)
|
||
|
{
|
||
|
writePinLow(RED_LED);
|
||
|
writePinLow(BLUE_LED);
|
||
|
writePinLow(GREEN_LED);
|
||
|
}
|
||
|
|
||
|
void turn_on_led(pin_t pin)
|
||
|
{
|
||
|
writePinHigh(pin);
|
||
|
}
|