Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

coverdriven

About

Username
coverdriven
Joined
Visits
2,410
Last Active
Roles
Member

Activity

  • tomcox
    You provided very helpful info previously. I wonder if you can help again.

    I wanted the Imp to take readings at 0600 UTC, so I used server.sleepuntil(6,0). The result was that the Imp came to life at about 0559, took the readings, and went back to sleep until 0600, which was a few seconds later. So I get two sets of readings a day, not the desired single set.

    What I assume was happening was that the internal timer was running a little fast, causing the early wakeup. Then the wifi connection corrects the timer, which leads to the second wakeup.

    How can I get around this?
    August 2015
    • coverdriven
      coverdriven
      @tomcox
      I don't have a lot of experience with server.sleepuntil() but I am aware that it isn't totally accurate. I think you're right about the internal clock running fast. Can I suggest that you first post this on the forum, rather than on my wall? It will get more attention, and there may be others who have had the same frustration. I do have a couple of ideas.
    • tomcox
      tomcox
      Thanks, will do.
  • coverdriven changed his profile picture.
    Thumbnail
    June 2014
  • coverdriven joined.
    Welcome Aboard!
    October 2013