summaryrefslogtreecommitdiff
path: root/quantum/light_ws2812.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-10-16 16:03:33 -0400
committerJack Humbert <jack.humb@gmail.com>2016-10-16 16:03:33 -0400
commit5f91fb413624781ac79db641549b9e08753c04b5 (patch)
treeab94b44cdc5c501ac6d9bcba920dd9a5141a7963 /quantum/light_ws2812.h
parentb8679bbe045a2285d6ab6bbc420121b26f516b9a (diff)
downloadqmk_firmware-5f91fb413624781ac79db641549b9e08753c04b5.tar.gz
qmk_firmware-5f91fb413624781ac79db641549b9e08753c04b5.zip
working with power limit
Diffstat (limited to 'quantum/light_ws2812.h')
-rwxr-xr-xquantum/light_ws2812.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/light_ws2812.h b/quantum/light_ws2812.h
index 54eef22d9e..576c3bc483 100755
--- a/quantum/light_ws2812.h
+++ b/quantum/light_ws2812.h
@@ -16,6 +16,13 @@
#include <avr/io.h>
#include <avr/interrupt.h>
//#include "ws2812_config.h"
+#include "i2cmaster.h"
+
+#define LIGHT_I2C 1
+#define LIGHT_I2C_ADDR 0x84
+#define LIGHT_I2C_ADDR_WRITE ( (LIGHT_I2C_ADDR<<1) | I2C_WRITE )
+#define LIGHT_I2C_ADDR_READ ( (LIGHT_I2C_ADDR<<1) | I2C_READ )
+
/*
* Structure of the LED array