This project is designed for ESP32 development using PlatformIO. It includes a simple library (Foo) and an example usage in the main application.
- include/: Header files for the project.
- lib/: Contains the
Foolibrary.Foo.h: Header file for theFooclass.Foo.c: Implementation of theFooclass.
- src/: Main application code.
main.cpp: Example usage of theFoolibrary.
- Clone the repository.
- Open the project in PlatformIO.
- Build and upload the code to your ESP32.
- Simple
Foolibrary with adoSomethingmethod. - Example usage in
main.cpp.
This project is licensed under the MIT License.
UserDevicePayload userDevice66(66);
userDevice66.createPmsg(4);
userDevice66.loraSend();
std::string jsonPayload66 = userDevice66.getJsonPayload(payload66);
Serial.println(jsonPayload66.c_str());