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

    How to use RTC in Arduino IDE ?

    PROJECTS
    2
    2
    7.7k
    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.
    • D
      DrWino
      last edited by

      How do you get time from the RTC in the M5stack ? The documentation is only for micropython. Also is the RTC battery backed up ? Thanks.

      1 Reply Last reply Reply Quote 0
      • J
        juantamad79
        last edited by

        Try using this code from this link to add to your M5stack Digital Clock example.

        https://github.com/adafruit/RTClib/blob/master/examples/ds3231/ds3231.ino

        you need to install the RTClib master library to make it work.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post