aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/satan/backlight.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-21 22:09:41 -0400
committerGitHub <noreply@github.com>2016-06-21 22:09:41 -0400
commit464c8e274f993d3571fe5ea5e836fe55a3912ffe (patch)
tree9d5c08ccf6de468a397f20a5438e72276977fe62 /keyboard/satan/backlight.c
parente329729d3a11b5798f4e2b9f65ac9bc2dcc84a9e (diff)
downloadfirmware-464c8e274f993d3571fe5ea5e836fe55a3912ffe.tar.gz
firmware-464c8e274f993d3571fe5ea5e836fe55a3912ffe.tar.bz2
firmware-464c8e274f993d3571fe5ea5e836fe55a3912ffe.zip
adds backlight levels to the satan keyboard (#431)
* enable 4 levels * remove breathing stuff * update channels, comments, hex
Diffstat (limited to 'keyboard/satan/backlight.c')
-rw-r--r--keyboard/satan/backlight.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/keyboard/satan/backlight.c b/keyboard/satan/backlight.c
deleted file mode 100644
index 4240b0916..000000000
--- a/keyboard/satan/backlight.c
+++ /dev/null
@@ -1,24 +0,0 @@
-
-#include <avr/io.h>
-#include "backlight.h"
-#include "print.h"
-
-void init_backlight_pin(void) {
- print("init_backlight_pin()\n");
- // Set our LED pins as output
- DDRB |= (1<<6);
-
- // Set our LED pins low
- PORTB &= ~(1<<6);
-}
-
-void backlight_set(uint8_t level) {
- if ( level == 0 ) {
- // Turn off light
- PORTB |= (1<<6);
- } else {
- // Turn on light
- PORTB &= ~(1<<6);
- }
-}
-