mirror of
https://github.com/adafruit/Adafruit_TSL2561.git
synced 2025-07-29 16:37:15 +02:00
Revert to begin to original, added comment
This commit is contained in:
@ -94,7 +94,9 @@ void setup(void)
|
||||
Serial.println("Light Sensor Test"); Serial.println("");
|
||||
|
||||
/* Initialise the sensor */
|
||||
if(!tsl.begin(&Wire2)) //use tsl.begin() to default to Wire, &Wire2 directs api to use Wire2, etc.
|
||||
//use tsl.begin() to default to Wire,
|
||||
//tsl.begin(&Wire2) directs api to use Wire2, etc.
|
||||
if(!tsl.begin())
|
||||
{
|
||||
/* There was a problem detecting the TSL2561 ... check your connections */
|
||||
Serial.print("Ooops, no TSL2561 detected ... Check your wiring or I2C ADDR!");
|
||||
|
Reference in New Issue
Block a user