2021-07-03 09:55:39 +02:00
|
|
|
#include "creator_pro.h"
|
|
|
|
|
2021-11-07 18:52:29 +01:00
|
|
|
void matrix_init_kb(void)
|
|
|
|
{
|
2021-07-03 09:55:39 +02:00
|
|
|
matrix_init_user();
|
2021-11-07 18:52:29 +01:00
|
|
|
|
2021-07-03 09:55:39 +02:00
|
|
|
setPinOutput(RED_LED);
|
|
|
|
setPinOutput(BLUE_LED);
|
|
|
|
setPinOutput(GREEN_LED);
|
|
|
|
}
|
2021-11-07 18:52:29 +01:00
|
|
|
void turn_off_leds(void)
|
|
|
|
{
|
2021-07-03 09:55:39 +02:00
|
|
|
writePinLow(RED_LED);
|
|
|
|
writePinLow(BLUE_LED);
|
|
|
|
writePinLow(GREEN_LED);
|
|
|
|
}
|
2021-11-07 18:52:29 +01:00
|
|
|
void turn_on_led(pin_t pin)
|
|
|
|
{
|
2021-07-03 09:55:39 +02:00
|
|
|
writePinHigh(pin);
|
|
|
|
}
|