8000 WebSocketClientSocketIO.ino:113:25: ArduinoJson, you must set ARDUINO… · joelkoz/arduinoWebSockets@f244741 · GitHub
[go: up one dir, main page]

Skip to content

Commit f244741

Browse files
committed
WebSocketClientSocketIO.ino:113:25: ArduinoJson, you must set ARDUINOJSON_USE_LONG_LONG error
1 parent 3f1cedb commit f244741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/esp8266/WebSocketClientSocketIO/WebSocketClientSocketIO.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void loop() {
110110

111111
// add payload (parameters) for the event
112112
JsonObject param1 = array.createNestedObject();
113-
param1["now"] = now;
113+
param1["now"] = (uint32_t) now;
114114

115115
// JSON to String (serializion)
116116
String output;

0 commit comments

Comments
 (0)
0