Subversion Repositories Code-Repo

Rev

Blame | 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) {
    
}