Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Vrtisworks
    3. Best
    V
    • Continue chat with Vrtisworks
    • Start new chat with Vrtisworks
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Vrtisworks

    • OSError: -202

      I'm trying to get the time from an NTP server, but I keep getting OSError: -202 MOST of the time. Every once in a while it would work.

      Took me a while to figure it out, but finally did. So wanted to document it here.

      What isn't clear in the examples and documentation is that even though you obviously have a good internet connect because you can download the code from UIFLOW, when your program runs, you need to reconnect the WiFi.

      Once I did that as part of the initialization, I could get the NTP time just fine.

      posted in Atom
      V
      Vrtisworks