Is there a way to have the Propeller tool load the system time into a variable or make a constant when a program is Compiled? By system time, I'm referring to the clock on my computer.
No, there's no way to do that; but it's certainly an interesting idea! What format would you prefer? Linux time (i.e. seconds since 00:00:00 UTC, January 1, 1970)?
No, there's no way to do that; but it's certainly an interesting idea! What format would you prefer? Linux time (i.e. seconds since 00:00:00 UTC, January 1, 1970)?
-Phil
Ya i didn't think so. Though the Linux format would work. My current project has an RTC, it just hit me, how cool it would be, if @ compile time I could load a variable with the current time, then on the very first run of the program update the RTC. Wishful thinking.
Comments
-Phil
Ya i didn't think so. Though the Linux format would work. My current project has an RTC, it just hit me, how cool it would be, if @ compile time I could load a variable with the current time, then on the very first run of the program update the RTC. Wishful thinking.