From 9bb259b660925c7a5cd64b3a0a4484cdf757b504 Mon Sep 17 00:00:00 2001 From: skullY Date: Sat, 21 Oct 2017 13:51:02 -0700 Subject: Fix the naming for clueboard files --- keyboards/clueboard/17/17.c | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 keyboards/clueboard/17/17.c (limited to 'keyboards/clueboard/17/17.c') diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c new file mode 100644 index 000000000..f84e3253e --- /dev/null +++ b/keyboards/clueboard/17/17.c @@ -0,0 +1,60 @@ +#include "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