Skip to content

Commit 5e5da62

Browse files
Update BH1750FVI_Simple.ino
Serial.print is now Arduino compatible
1 parent bdab597 commit 5e5da62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/BH1750FVI_Simple/BH1750FVI_Simple.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ void setup()
3030
void loop()
3131
{
3232
uint16_t lux = LightSensor.GetLightIntensity();
33-
Serial.printf("Light: %d lux", lux);
33+
Serial.print("Light: ");
34+
Serial.println(lux);
3435
delay(250);
3536
}

0 commit comments

Comments
 (0)