Hi Guys,
First time posting here so I'll try and be concise! I'm working on creating a library for a Mifare RFID module (that hasn't been written yet). It communicates via serial and I would like a way to effectively "timeout" when I wait for communication on RX.
Whilst I've tried to make the way it works with interrupts as reliable as possible, there will/may be a point where it transmits data, waits for a response and misses it completely (for whatever reason). In which case the best thing to do would be to restart.
Is this the kind of thing Watchdog was designed for or am I getting it confused with something else?
Hi Guys, First time posting here so I'll try and be concise! I'm working on creating a library for a Mifare RFID module (that hasn't been written yet). It communicates via serial and I would like a way to effectively "timeout" when I wait for communication on RX.
Whilst I've tried to make the way it works with interrupts as reliable as possible, there will/may be a point where it transmits data, waits for a response and misses it completely (for whatever reason). In which case the best thing to do would be to restart.
Is this the kind of thing Watchdog was designed for or am I getting it confused with something else?