Timeline for Setting Time Function With DS3232 Library
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 29, 2020 at 21:25 | history | edited | BobaJFET | CC BY-SA 4.0 |
including extra code
|
| Jan 29, 2020 at 20:07 | comment | added | BobaJFET | What problem will it encounter? My clock seems to work just fine and holds time with the backup battery. | |
| Jan 29, 2020 at 19:23 | comment | added | Juraj♦ | it has nothing to do with Serial. in the example the values are read from Serial (read by parseInt) and are set into the tmElements_t structure. but you can use the variables to set the elements of date and time. Then the makeTime from TimeLib function calculates the 'epoch' value and it is set to RTC. the way in your answer will have a problem, because the time runs in TimeLib | |
| Jan 29, 2020 at 19:05 | comment | added | BobaJFET | I assume you’re referring to using the serial monitor to set the time. That seems like a very straightforward way to do it, but I have yet to figure that out. For now, setting the time with my alternate method is good enough. | |
| Jan 28, 2020 at 5:59 | comment | added | Juraj♦ | you have a better way in the code in question. tmElements_t | |
| Jan 28, 2020 at 1:45 | comment | added | BobaJFET | It is “a” way. But if you have a better way, do share and i’ll mark your’s as the answer | |
| Jan 27, 2020 at 18:50 | comment | added | Juraj♦ | it is not the best way | |
| Jan 24, 2020 at 6:06 | vote | accept | BobaJFET | ||
| Jan 24, 2020 at 6:06 | history | answered | BobaJFET | CC BY-SA 4.0 |