qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

the50.c (216B)


      1 #include "the50.h"
      2 
      3 #define THE50_LED_PIN B7
      4 
      5 void the50_led_on(void) {
      6   gpio_set_pin_output(THE50_LED_PIN);
      7   gpio_write_pin_low(THE50_LED_PIN);
      8 }
      9 
     10 void the50_led_off(void) {
     11   gpio_set_pin_input(THE50_LED_PIN);
     12 }