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:
parent
7dbf37007a
commit
6ac762b1ec
6 changed files with 286 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue