I’ve done it and I’m posting here so that it might help others trying to achieve the same..
I’ve just got the code working that does the following
- WatchDog running
- Real Time Clock
- Edge Triggering
This has very much been a very long and difficult journey, there have been many posts on this forum to get bits of information and advice, I have also ‘borrowed’ code from others so so thank you to all that post here to help others.
I’ve posted this to help anyone who is also struggling, the code base is all on github on the link below.
Note: This branch may not exist in the future, if not try GitHub - mattb1969/InterruptswithRTCandWDT
The code has been written using VSCode and PlatformIO.