- Add platformio.ini for ESP32 DevKit (Arduino framework, espressif32 6.10.0) - Vendor ArduinoJson, MPU6050_tockn, SCServo, Simple_FOC, and WebSockets so a fresh clone builds without downloading dependencies - Add .gitignore rules for PlatformIO/IDE build artifacts - Add controller PCB Gerber and drill files
17 lines
365 B
C++
17 lines
365 B
C++
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2023, Benoit BLANCHON
|
|
// MIT License
|
|
|
|
#include <ArduinoJson.h>
|
|
|
|
extern "C" void app_main() {
|
|
char buffer[256];
|
|
StaticJsonDocument<200> doc;
|
|
|
|
doc["hello"] = "world";
|
|
serializeJson(doc, buffer);
|
|
deserializeJson(doc, buffer);
|
|
serializeMsgPack(doc, buffer);
|
|
deserializeMsgPack(doc, buffer);
|
|
}
|