Navigation

    M5Stack Community

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

    lilianz

    @lilianz

    0
    Reputation
    1
    Posts
    195
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    lilianz Follow

    Posts made by lilianz

    • How to make RTC clock with NTP

      How to make RTC clock with NTP Sync for M5StickC in in python (UIflow 1.4.4) ?
      the code below gives an error "RTC' object has no atribute 'ntp_sync"

      import machine
      import utime

      rtc = machine.RTC()
      rtc.ntp_sync(server="hr.pool.ntp.org", tz="CET-1CEST")
      rtc.synced()
      True
      utime.gmtime()
      (2018, 1, 29, 16, 3, 18, 2, 29)
      utime.localtime()
      (2018, 1, 29, 17, 3, 30, 2, 29)

      posted in UIFlow
      lilianz