From 3f3fa0791895f14370b4bb3e8512597688c45122 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Tue, 17 Oct 2017 18:05:21 -0700 Subject: Reorganize clueboard into a single directory (#1855) --- keyboards/clueboard/17/clueboard_17.c | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 keyboards/clueboard/17/clueboard_17.c (limited to 'keyboards/clueboard/17/clueboard_17.c') diff --git a/keyboards/clueboard/17/clueboard_17.c b/keyboards/clueboard/17/clueboard_17.c new file mode 100644 index 000000000..04cc81217 --- /dev/null +++ b/keyboards/clueboard/17/clueboard_17.c @@ -0,0 +1,60 @@ +#include "clueboard_17.h" + +int pwm_level; + +void matrix_init_kb(void) { + // put your keyboard start-up code here + // runs once when the firmware starts up + matrix_init_user(); + + // JTAG disable for PORT F. write JTD bit twice within four cycles. + MCUCR |= (1<> 8; + OCR4A = 0xFF & pwm_level; +} -- cgit v1.2.3-24-g4f1b