Subversion Repositories Code-Repo

Rev

Rev 148 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include "lux_TSL2561.h"
#include "i2c.h"

static TSL2561_DATA tsl2561_data;
static TSL2561_DATA *tsl2561_data_p = &tsl2561_data;

void LUX_Init(unsigned char address) {
    tsl2561_data_p->address = address;
    tsl2561_data_p->integration = TSL2561_INTEGRATIONTIME_13MS;
    tsl2561_data_p->gain = TSL2561_GAIN_16X;
}

void LUX_Begin(void) {
    
}