Skip to content

Commit

Permalink
fixed sample
Browse files Browse the repository at this point in the history
  • Loading branch information
sprilukin committed Jan 15, 2016
1 parent b938bdf commit 54aab11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/reciever/reciever.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ void loop() {
Serial.println("====== Got message from BL999 sensor: ");
Serial.println("Channel: " + info.channel);
Serial.println("PowerUUID: " + info.powerUUID);
Serial.println("Battery is " + (info.battery == 0 ? "Ok" : "Low"));
Serial.println("Battery is " + String(info.battery == 0 ? "Ok" : "Low"));
Serial.println("Temperature: " + String(info.temperature / 10.0));
Serial.println("Humidity: " + info.humidity + "%");
Serial.println("Humidity: " + String(info.humidity) + "%");
}
}

0 comments on commit 54aab11

Please sign in to comment.