Merge DynamicJsonDocument with JsonDocument

This commit is contained in:
Benoit Blanchon committed 2023-03-20 14:49:51 +01:00
1 parent db9258bcd7
commit 540901e219
164 files changed
+550 -666

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ void loop() {
// Allocate a temporary JsonDocument
// Use https://arduinojson.org/v6/assistant to compute the capacity.
DynamicJsonDocument doc(500);
JsonDocument doc(500);
// Create the "analog" array
JsonArray analogValues = doc.createNestedArray("analog");