From ee96b7a89dd2de78b9372d3b8ce899757e3190c4 Mon Sep 17 00:00:00 2001 From: Erovia Date: Mon, 14 Jan 2019 09:49:00 +0100 Subject: [Keyboard] Add support for THE50 (#4844) * Add support for THE50 A 50% custom keyboard designed and produced by LazyDesigners * THE50 code-improvement Implement the changes suggested by noroadsleft. --- keyboards/lazydesigners/the50/the50.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 keyboards/lazydesigners/the50/the50.c (limited to 'keyboards/lazydesigners/the50/the50.c') diff --git a/keyboards/lazydesigners/the50/the50.c b/keyboards/lazydesigners/the50/the50.c new file mode 100644 index 0000000000..4ceb3da6ab --- /dev/null +++ b/keyboards/lazydesigners/the50/the50.c @@ -0,0 +1,9 @@ +#include "the50.h" + +void the50_led_on() { + DDRB |= (1 << 7); PORTB &= ~(1 << 7); +} + +void the50_led_off() { + DDRB &= ~(1 << 7); PORTB &= ~(1 << 7); +} -- cgit v1.2.3