The project will not build for me on Wokwi, giving the following errors
sketch.ino: In function 'void functionMain(char)':
sketch.ino:108:7: error: 'StaticJsonDocument' was not declared in this scope
StaticJsonDocument<200> doc;
^~~~~~~~~~~~~~~~~~
sketch.ino:108:7: note: suggested alternative: 'StaticQueue_t'
StaticJsonDocument<200> doc;
^~~~~~~~~~~~~~~~~~
StaticQueue_t
sketch.ino:108:31: error: 'doc' was not declared in this scope
StaticJsonDocument<200> doc;
^~~
sketch.ino:113:7: error: 'serializeJson' was not declared in this scope
serializeJson(doc, jsonString);
^~~~~~~~~~~~~
sketch.ino:113:7: note: suggested alternative: 'serialEventRun'
serializeJson(doc, jsonString);
^~~~~~~~~~~~~
serialEventRun