1
0
Fork 0

rgb clean-up, api clean-up

This commit is contained in:
Jack Humbert 2016-12-19 11:18:18 -05:00
parent ae95834f5a
commit 06c64bbff3
6 changed files with 77 additions and 35 deletions

View file

@ -18,13 +18,6 @@
//#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 )
#define RGBW 1
#ifdef RGBW
#define LED_TYPE struct cRGBW
#else