3
0
Fork 0

Add GasolineGenerator class and configuration for generator management

- Implement GasolineGenerator class with methods for initialization, startup, shutdown, and state management.
- Introduce GasolineGeneratorConfig structure for configuration parameters.
- Update main.cpp to initialize and use the GasolineGenerator instance.
- Modify platformio.ini to include build flags for debugging and versioning.
This commit is contained in:
Siwat Sirichai 2025-06-08 22:05:04 +07:00
parent 7dbf37007a
commit 6ac762b1ec
6 changed files with 286 additions and 0 deletions

View file

@ -13,4 +13,5 @@ platform = espressif32
board = wt32-eth01
framework = arduino
lib_deps = siwats/ESPMegaPROR3@^2.9.5
build_flags = -DCORE_DEBUG_LEVEL=0 -DSW_VERSION='"generator-dev-1.0.0"' -DBOARD_MODEL='"ESPMegaPRO R3.3c"'
monitor_speed = 115200