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

    Detailed restart from the watchdog timer ?

    Arduino
    1
    1
    3.8k
    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.
    • ExieE
      Exie
      last edited by

      Hi Folks,

      I've been looking at thise C code here:
      https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/ResetReason/ResetReason.ino

      ...and wonder if there is a way to get a more detailed message ?

      I'm using the watch dog timer, which works great, but I loose any information about why it didn't complete the task in time, all I know is that it failed and the WDT rebooted, but I never know why.

      It would be great if I can redirect the serial console output some how and persist it over the restart.

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