Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Tool — Parallax Forums

Propeller Tool

marzec309marzec309 Posts: 146
edited 2011-07-17 21:22 in Propeller 1
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.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-17 21:08
    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
  • marzec309marzec309 Posts: 146
    edited 2011-07-17 21:22
    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.
Sign In or Register to comment.