1
0
Fork 0

working with power limit

This commit is contained in:
Jack Humbert 2016-10-16 16:03:33 -04:00
parent b8679bbe04
commit 5f91fb4136
8 changed files with 163 additions and 4 deletions

View file

@ -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