Bit-C sample code and source files
- Copy
bit-c_led.h
to your keyboard's (or other project's) folder. For Arduino projects, usebit-c_led_arduino.h
. #include "bit-c_led.h"
within your source code. For Arduino projects, use#include "bit-c_led_arduino.h"
- Call
set_bit_c_LED(mode)
with eitherLED_ON
,LED_DIM
, orLED_OFF
as the mode
See the NIBBLE source code for an example of this in the wild.