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) | |
| download | qmk_firmware-5f91fb413624781ac79db641549b9e08753c04b5.tar.gz qmk_firmware-5f91fb413624781ac79db641549b9e08753c04b5.zip | |
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 54eef22d9..576c3bc48 100755 --- a/quantum/light_ws2812.h +++ b/quantum/light_ws2812.h | |||
| @@ -16,6 +16,13 @@ | |||
| 16 | #include <avr/io.h> | 16 | #include <avr/io.h> |
| 17 | #include <avr/interrupt.h> | 17 | #include <avr/interrupt.h> |
| 18 | //#include "ws2812_config.h" | 18 | //#include "ws2812_config.h" |
| 19 | #include "i2cmaster.h" | ||
| 20 | |||
| 21 | #define LIGHT_I2C 1 | ||
| 22 | #define LIGHT_I2C_ADDR 0x84 | ||
| 23 | #define LIGHT_I2C_ADDR_WRITE ( (LIGHT_I2C_ADDR<<1) | I2C_WRITE ) | ||
| 24 | #define LIGHT_I2C_ADDR_READ ( (LIGHT_I2C_ADDR<<1) | I2C_READ ) | ||
| 25 | |||
| 19 | 26 | ||
| 20 | /* | 27 | /* |
| 21 | * Structure of the LED array | 28 | * Structure of the LED array |
