This is my variabel luxx for the lux meter, but still get -1.00
void luxx(){
float l = myLux.lightStrengthLux();
Serial.print("value: ");
Serial.print(l);
Serial.println(" (lux).");
Blynk.virtualWrite(V1, l);
delay(1000);
}
i already put the myLux in setup and the luxx in loop
This is my variabel luxx for the lux meter, but still get -1.00
void luxx(){
float l = myLux.lightStrengthLux();
Serial.print("value: ");
Serial.print(l);
Serial.println(" (lux).");
Blynk.virtualWrite(V1, l);
delay(1000);
}
i already put the myLux in setup and the luxx in loop
Im using pin 13 for enable, vcc to vin, gnd to gnd, sda to pin 21, and scl to pin 22
I use esp32, its same things or not? For code i use some example from library