We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec13b31 + eaf6e58 commit 96bf030Copy full SHA for 96bf030
examples/FirebaseStream_ESP8266/FirebaseStream_ESP8266.ino
@@ -44,7 +44,7 @@ void setup() {
44
Serial.println();
45
Serial.print("connected: ");
46
Serial.println(WiFi.localIP());
47
- stream = fbase.stream("/bitcoin");
+ stream = fbase.stream("/bitcoin/last");
48
}
49
50
@@ -65,7 +65,7 @@ void loop() {
65
Serial.println(event);
66
JsonObject& json = buf.parseObject((char*)event.c_str());
67
String path = json["path"];
68
- float data = json["data"]["last"];
+ float data = json["data"];
69
70
// TODO(proppy): parse JSON object.
71
display.clearDisplay();
0 commit comments