I have succesfully formatted my 600 lines main.cpp into something a bit more beautiful. Made a few classes and turned my 600 lines into 100 lines. My ESP32 flash was really happy and went from 73% capacity to 50% ish capacity. I have also fixed the bug, where there was missing some steps over long time.
I have pushed my project to github, both the ugly and less ugly code.
The project: https://github.com/flamefir/SingleClock
My last code revision: https://github.com/flamefir/SingleClock/tree/main/src/SingleClock%20-%20clean%20up%20code/SingleClock%20-%20clean%20up%20code
As i am just a student, please tell if any code, makes you vommit.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.