diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-10-16 16:03:33 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-10-16 16:03:33 -0400 |
commit | 5f91fb413624781ac79db641549b9e08753c04b5 (patch) | |
tree | ab94b44cdc5c501ac6d9bcba920dd9a5141a7963 /quantum/light_ws2812.h | |
parent | b8679bbe045a2285d6ab6bbc420121b26f516b9a (diff) |
working with power limit
Diffstat (limited to 'quantum/light_ws2812.h')
-rwxr-xr-x | quantum/light_ws2812.h | 7 |
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 |