|
|
|
|
|
by revelation
4486 days ago
|
|
Why would you abuse the WDT to periodically wake the AVR? You could connect one of the reed switches to a true external interrupt and use that as your wakeup call. Saves battery and you don't run the chance of missing anything in between the second long checks. |
|
For a door opening and closing a 1 second delay is fine. If it misses an event with that delay then it was probably a fluke. Think of it as a buffer to prevent false readings.