From ccaf807c9442034608414ae7555c42331d1f80e5 Mon Sep 17 00:00:00 2001 From: Liz Date: Mon, 9 Sep 2024 11:39:17 -0400 Subject: [PATCH] fix ybox3 --- PicoW_YBox3/{.feather_rp2040.test.only => .none.test.only} | 0 PicoW_YBox3/PicoW_YBox3.ino | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename PicoW_YBox3/{.feather_rp2040.test.only => .none.test.only} (100%) diff --git a/PicoW_YBox3/.feather_rp2040.test.only b/PicoW_YBox3/.none.test.only similarity index 100% rename from PicoW_YBox3/.feather_rp2040.test.only rename to PicoW_YBox3/.none.test.only diff --git a/PicoW_YBox3/PicoW_YBox3.ino b/PicoW_YBox3/PicoW_YBox3.ino index 7d7510545..49745be84 100644 --- a/PicoW_YBox3/PicoW_YBox3.ino +++ b/PicoW_YBox3/PicoW_YBox3.ino @@ -151,6 +151,7 @@ void loop() { bgy = miny, // Y relative to background bitmap (>= 0) x, y, bx1, bgx1; // Loop counters and working vars uint8_t p; // 'packed' value of 2 ball pixels + int8_t bufIdx = 0; uint8_t *buf = display.getBuffer(); // -> back buffer @@ -194,7 +195,7 @@ void loop() { if (httpResponseCode > 0) { String payload = http.getString(); Serial.println(payload); - JsonDocument doc(1024); + DynamicJsonDocument doc(1024); DeserializationError error = deserializeJson(doc, payload); if (!error) { if (channelNow == "weather") {