Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3 from bfesser/patch-1
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
ladyada committed Apr 10, 2013
2 parents eaaa3bf + f5e292b commit 58e24df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tsl2561/tsl2561.pde
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void loop(void) {
Serial.println(x, DEC);

// More advanced data read example. Read 32 bits with top 16 bits IR, bottom 16 bits full spectrum
// That way you can do whatever math and comparions you want!
// That way you can do whatever math and comparisons you want!
uint32_t lum = tsl.getFullLuminosity();
uint16_t ir, full;
ir = lum >> 16;
Expand All @@ -60,4 +60,4 @@ void loop(void) {
Serial.print("Lux: "); Serial.println(tsl.calculateLux(full, ir));

delay(100);
}
}

0 comments on commit 58e24df

Please sign in to comment.