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

    RTC UI Flow - GET RTC doesn't work

    Scheduled Pinned Locked Moved Units
    3 Posts 2 Posters 3.2k 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.
    • M Offline
      mickud
      last edited by

      Hi,
      I am struggling with RTC module M5Unit-RTC: https://docs.m5stack.com/en/unit/rtc

      I know it's working, and powered on, because it responds correctly to alarm, and timer commands.

      However when I try to use the GET RTC (seconds) command it fails.
      I tried everything: changing it to int(), assigning a variable with the get_rtc() - nothing helps

      I am attaching an example.
      0_1671572056411_8ef40cad-0d64-4f32-b50f-30fc6e51510f-image.png

      The behavior is as follows:

      • LED turns to yellow (inicialized)
        after 3 sec LED turns to Blue (the date and time is set)
        Instead of going to green the LED goes to <red> the moment a line with get_rtc command is being run.
        It's always the same with every other things I try. The moment I use this block the LED turns red and stops working.

      I am looking forward to hearing your thoughts
      Michal

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by felmue

        Hello @mickud

        • which device (M5AtomLite, M5AtomMatrix, M5Stamp, ...) are you using?
        • what UIFlow firmware is running on your device?

        I've tried with an M5AtomLite and M5StampPico (both UIFlow firmware version 1.11.0) and using get_rtc command works just fine for me.

        BTW: convert to int seem to be unnecessary.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • M Offline
          mickud
          last edited by

          Hi,
          I am using Atom Lite. It's the one from ATOM Stepper Motor Driver Development Kit (DRV8825)
          I am using UIFLOW(LITE) v1.9.8 downloaded using the Burning Tool

          I checked if the Burnning Tool would update the UIFLOW version, but I did not download the newest Burning Tool version. That must have been a mistake.

          Now I downloaded the newest Burning Tool with UIFLOW 1.11.0 on board and it is working correctly.
          Thank you Felix. Much appreciated!

          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