summaryrefslogtreecommitdiff
path: root/quantum/light_ws2812.h
diff options
context:
space:
mode:
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