Skip to content

Commit

Permalink
Merge pull request #42 from arduino12/master
Browse files Browse the repository at this point in the history
Add support for TCS34727 (device ID 0x4d)
  • Loading branch information
ladyada authored May 29, 2021
2 parents 2fd9e81 + 7ffe37e commit bf260f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_TCS34725.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ boolean Adafruit_TCS34725::init() {

/* Make sure we're actually connected */
uint8_t x = read8(TCS34725_ID);
if ((x != 0x44) && (x != 0x10)) {
if ((x != 0x4d) && (x != 0x44) && (x != 0x10)) {
return false;
}
_tcs34725Initialised = true;
Expand Down

0 comments on commit bf260f4

Please sign in to comment.