03-31-2022, 11:19 AM
I do have the problem solved if you wanted to stay lol... This will save a reformat today but still needs to be done. You can do that now for 6.4 then you just need to recompile the startup.cpp and robotank.cpp files. That's the only difference for Buster and Bullseye, the c++ programs need to be compiled for each one.
Undo that other mod I mentioned in the rtc.h file.
Instead edit the schedules.h file.
Find line 724 which should be this.
std::string date = to_string(rtc.getCurrentYear()) + "-" + to_string(rtc.getCurrentMonth()) + "-" + to_string(rtc.getCurrentDay());
Replace that line with this.
std::string date = to_string(rtc.getCurrentYear()) + "-" + to_string(rtc.getCurrentMonth()+1) + "-" + to_string(rtc.getCurrentDay());
Then recompile the robotank.cpp file.
If you want a schedule to run every day you need to check each weekday box, there is a problem with X number of days when you use 1, it does 2 days. If you put 2 days or more it's ok so just another thing I didn't realize. So yeah today just ignore that.
Undo that other mod I mentioned in the rtc.h file.
Instead edit the schedules.h file.
Find line 724 which should be this.
std::string date = to_string(rtc.getCurrentYear()) + "-" + to_string(rtc.getCurrentMonth()) + "-" + to_string(rtc.getCurrentDay());
Replace that line with this.
std::string date = to_string(rtc.getCurrentYear()) + "-" + to_string(rtc.getCurrentMonth()+1) + "-" + to_string(rtc.getCurrentDay());
Then recompile the robotank.cpp file.
If you want a schedule to run every day you need to check each weekday box, there is a problem with X number of days when you use 1, it does 2 days. If you put 2 days or more it's ok so just another thing I didn't realize. So yeah today just ignore that.