diff options
author | Erovia <[email protected]> | 2019-01-14 09:49:00 +0100 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-01-14 00:49:00 -0800 |
commit | ee96b7a89dd2de78b9372d3b8ce899757e3190c4 (patch) | |
tree | f347cd4526f49d3373d1f7ab14d3d2989cc8b95b /keyboards/lazydesigners/the50/the50.c | |
parent | 929065b1a97eb15a54a65c866d19d45998f775c6 (diff) | |
download | qmk_firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.tar.gz qmk_firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.zip |
[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.c | 9 |
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 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); +} |