Hello
I don’t understand how to change the mode of detection for the TSL2561.
you write " That’s why you can choose its working mode by having both of them on or one of them off. "
–> ok 3 modes but how ??
is it in the code ?
[code]#include <Wire.h>
#include <Digital_Light_TSL2561.h>
void setup()
{
Wire.begin();
Serial.begin(9600);
TSL2561.init();
}
void loop()
{
unsigned long Lux;
TSL2561.getLux();
Serial.print("The Light value is: ");
Serial.println(TSL2561.calculateLux(0,0,1));
delay(1000);
}[/code]
Thanks for your products