spaceAngel / cyberWatch

simple OS for LillyGO T-Watch V3
https://cyberwatch.cyberdeck.cz
GNU General Public License v3.0
34 stars 9 forks source link

Automatically set correct datetime at compile time #3

Closed arduino-man closed 2 years ago

arduino-man commented 2 years ago

This patch grabs the current DATE and TIME from the computer where the code is being compiled on, parses it into variables and then uses said variables to automatically set the time/date on the watch for the user during the init process.