tsl2561: fix indentation of example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll 2014-11-12 15:19:17 +00:00
parent ac9cd1afa3
commit 5477321ce7

View File

@ -41,10 +41,6 @@ int main (int argc, char **argv)
loopCount = atoi(argv[1]);
}
sensor = new upm::TSL2561();
//sensor = new upm::TSL2561(0, TSL2561_Address, GAIN_16X, INTEGRATION_TIME2_402MS);
//sensor = new upm::TSL2561(0, TSL2561_Address, GAIN_16X, INTEGRATION_TIME1_101MS);
//sensor = new upm::TSL2561(0, TSL2561_Address, GAIN_16X, INTEGRATION_TIME0_13MS);
//sensor = new upm::TSL2561(0, TSL2561_Address, GAIN_0X, INTEGRATION_TIME2_402MS);
for(int i=0; i< loopCount; i++){
fprintf(stdout, "Lux = %d\n", sensor->getLux());