Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Watchdog question

  1. #1
    Junior Member
    Join Date
    Jan 2019
    Posts
    13

    Watchdog question

    So seeing that the arduinos use a different mcu than teensy, would the watchdog work the same way?

    if not, did the teensy library supplied got updated with its own modification to the arduino wdt library?



    P.S, i'm so sorry i took so long to start using the teensy. Way more powerful that i'd previously thought

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,985
    There is a usable watchdog on Teensy - T_LC works a bit different than the T_3.x's - but functions. Not noted what Teensy you have?

    If it is one of those there are forum posts that may show usage and answer questions. There was a T_LC related post in recent days IIRC ...

  3. #3
    Junior Member
    Join Date
    Jan 2019
    Posts
    13
    I'm on a 3.2

    I found this online by paul https://github.com/PaulStoffregen/Ar...m/source/wdt.c was curious about that

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,985
    Here's the T_LC thread I saw noted recently : Watchdog-on-Teensy-LC

    It points to an offsite example that might have more info

  5. #5
    Junior Member
    Join Date
    Jan 2019
    Posts
    13
    OK will check it out later. I originally designed around an arduino nano and used an external watchdog on the reset pin, but since that is harder to access on the teensy, well, here I am

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,985
    GOod luck - if you find something that clarifies it or gives good results posting would leave something to find. Quick search found it covered in 2013 and 2015 - so there has to be a good answer and I've seen it pass by more than once so it works and isn't too complex. Initialize it with desired time - then feed or kick the dog inside that time and all goes well - miss a beat and reset.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •