summaryrefslogtreecommitdiffstats
path: root/keyboards/lazydesigners/the50/the50.c
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2019-01-14 09:49:00 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-14 09:49:00 +0100
commitee96b7a89dd2de78b9372d3b8ce899757e3190c4 (patch)
treef347cd4526f49d3373d1f7ab14d3d2989cc8b95b /keyboards/lazydesigners/the50/the50.c
parent929065b1a97eb15a54a65c866d19d45998f775c6 (diff)
downloadqmk_firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.tar.gz
qmk_firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.tar.xz
[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.
Diffstat (limited to 'keyboards/lazydesigners/the50/the50.c')
-rw-r--r--keyboards/lazydesigners/the50/the50.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/the50/the50.c b/keyboards/lazydesigners/the50/the50.c
new file mode 100644
index 000000000..4ceb3da6a
--- /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);
+}