Skip to content

Commit

Permalink
Update BH1750FVI_Simple.ino
Browse files Browse the repository at this point in the history
Serial.print is now Arduino compatible
  • Loading branch information
PeterEmbedded authored Nov 1, 2018
1 parent bdab597 commit 5e5da62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/BH1750FVI_Simple/BH1750FVI_Simple.ino
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void setup()
void loop()
{
uint16_t lux = LightSensor.GetLightIntensity();
Serial.printf("Light: %d lux", lux);
Serial.print("Light: ");
Serial.println(lux);
delay(250);
}

0 comments on commit 5e5da62

Please sign in to comment.