Minor changes in the examples

This commit is contained in:
Benoit Blanchon
2018-06-07 11:21:54 +02:00
parent e86eb0cfdf
commit 393f352b70
3 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ void setup() {
// Fetch values.
//
// Most of the time, you can rely on the implicit casts.
// In other case, you can do doc["time"].as<long>();
// In other case, you can do root["time"].as<long>();
const char* sensor = root["sensor"];
long time = root["time"];
double latitude = root["data"][0];