Commit Graph

63 Commits

Author SHA1 Message Date
ZanzyTHEbar
7f21952cf2 update
- add better more flushed out serialmanager class
- move mdns object initialisation call above the streamserer call
2022-07-30 18:27:18 +01:00
ZanzyTHEbar
151b01251e update
- Changed SerialManager to only set the config on newData
- Changed serial manager to save to flash after all configs set
- Changed main init config structs and load config
2022-07-30 17:50:21 +01:00
ZanzyTHEbar
19e0a66a46 successfully compiles 2022-07-30 17:32:37 +01:00
ZanzyTHEbar
2524102da5 added comments in webserver + example on unique_ptr 2022-07-28 05:58:10 +01:00
ZanzyTHEbar
1d998b28d1 update
- Fix paths for includes
- Set _already_loaded to true at end of load method.
2022-07-28 05:41:52 +01:00
ZanzyTHEbar
aebe2ae870 formatting 2022-07-24 22:00:37 +01:00
ZanzyTHEbar
f3606676f9 implemented:
- save, load, reset functions for config
2022-07-24 21:58:13 +01:00
ZanzyTHEbar
4a8ebffa82 update
- Completed Serial Manager
2022-07-24 21:52:30 +01:00
ZanzyTHEbar
1529b8b335 Co-authored-by: Zdzislaw Goik <goik.zdzislaw@gmail.com> 2022-07-24 20:26:27 +01:00
ZanzyTHEbar
7da2449733 Big update
- Removed credentials.h && pinouts.h
- Added wifi environment and pinouts env to ini file

To get rid of the extra header files i migrated the settings to the ini
This is much cleaner imo and easier to maintain.
I added explixit commets to guide the user to the right section to add their wifi details
2022-07-22 21:08:14 +02:00
ZanzyTHEbar
06ca809d26 update state manager
- Migrated instationation of StateManager objects to CPP file.

This was to remove them from the main, keep the main clean.

Now objects are accessible whenever you include the header.
No need to recreate them.
2022-07-22 21:08:14 +02:00
ZanzyTHEbar
fca754d2cc fixed statemanager class
- Implemented a proper templated statemanager
- Any number of program states can be passed to the class.
2022-07-22 21:08:14 +02:00
ZanzyTHEbar
abd1443bf5 refactor project
Refactor entire project - need to fix Statemanager to get rid of the linking error
2022-07-22 21:08:14 +02:00