Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 7d3a128

Browse files
committed
Merge pull request #148 from proppy/fix-stream
examples/FirebaseStream: stream data is stringified
2 parents 4318ab6 + 065f6c6 commit 7d3a128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/FirebaseStream_ESP8266/FirebaseStream_ESP8266.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void loop() {
6868
Serial.print("data: ");
6969
Serial.println(event.getString("data"));
7070
String path = event.getString("path");
71-
float data = event.getFloat("data");
71+
String data = event.getString("data");
7272

7373
display.clearDisplay();
7474
display.setTextSize(2);

0 commit comments

Comments
 (0)