🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Losing time?

    Scheduled Pinned Locked Moved Lessons and Guides
    3 Posts 2 Posters 10.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RopR Offline
      Rop
      last edited by

      I am writing an Arduino Time Library for ESP32. In the process of testing, I notice that the millis() counter on the M5Stack is fairly precise except it stops for 300 and sometimes 1300 ms all of a sudden, but only every once in a while. (maybe every 40 minutes so, but it seems to vary with what's running on it.) Does anyone (maybe at M5Stack?) have any idea what could be causing this?

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Calin @Rop
        last edited by Calin

        @rop 在 Losing time? 中说:

        I am writing an Arduino Time Library for ESP32. In the process of testing, I notice that the millis() counter on the M5Stack is fairly precise except it stops for 300 and sometimes 1300 ms all of a sudden, but only every once in a while. (maybe every 40 minutes so, but it seems to vary with what's running on it.) Does anyone (maybe at M5Stack?) have any idea what could be causing this?

        Random odd behavior on various functions.
        This is one of the reasons why i moved from arduino framework to ESP-IDF for my esp32 based projects...

        RopR 1 Reply Last reply Reply Quote 0
        • RopR Offline
          Rop @Calin
          last edited by

          @calin Yes, I am beginning to see more of that logic. But I so like to make Arduino libraries... :/

          I am hoping to be able to interface with the underlying esp timers and RTC and still offer that in the arduino world. Reading lots...

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post