rev2.c 261 B

123456789101112
  1. #include "rev2.h"
  2. void led_set_kb(uint8_t usb_led) {
  3. // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
  4. if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
  5. writePinHigh(B2);
  6. } else {
  7. writePinLow(B2);
  8. }
  9. led_set_user(usb_led);
  10. }