Hello All, noob here, so please be gentle.
I've been hacking about with Arduinos a for couple of years, and needed to step up a gear for a new project I have been working on. A Teensy 3.2 just fits the bill perfectly! I have added a timing crystal and backup battery, and all looks to be well.
I am having a couple of issues (of my understanding) around Teensy time. I've been through the stock (i.e unchanged) example TimeTeensy3 (which compiles and runs fine, albeit without picking up the right tiem). But I cannot fathom the stuff around processSyncMessage. I guess this function is supposed to return a long int of seconds, since 1970, but I cannot figure out how it works. How does the attached PC know to do this? Is there aPC program I need to run?
I have had to set the Teensy RTC time manually, whereupon the system keeps good time and retains it through main power downs overnight, rebooting successfully with the correct time as expected the following day, so no problems there. It's just getting the time from a PC via USB that I cannot figure.
I have read through the help pages, delved a little into the libraries themselves, but am yet none the wiser
Help...
I've been hacking about with Arduinos a for couple of years, and needed to step up a gear for a new project I have been working on. A Teensy 3.2 just fits the bill perfectly! I have added a timing crystal and backup battery, and all looks to be well.
I am having a couple of issues (of my understanding) around Teensy time. I've been through the stock (i.e unchanged) example TimeTeensy3 (which compiles and runs fine, albeit without picking up the right tiem). But I cannot fathom the stuff around processSyncMessage. I guess this function is supposed to return a long int of seconds, since 1970, but I cannot figure out how it works. How does the attached PC know to do this? Is there aPC program I need to run?
I have had to set the Teensy RTC time manually, whereupon the system keeps good time and retains it through main power downs overnight, rebooting successfully with the correct time as expected the following day, so no problems there. It's just getting the time from a PC via USB that I cannot figure.
I have read through the help pages, delved a little into the libraries themselves, but am yet none the wiser
Help...