Many years ago, I have made low power consuming project for 328p using IR on pin 2 to shut down and wake up device. It worked fine, however now I would try to use the same with 2560 with addition to shut down and wake up on a button press as well.
Since the previous version of the device and software was a hobby project many years ago, I'm quite a bit out of track. As far I can remember, 328p had only one supported interrupt from power down mode, however I have no idea about 2560.
Anyone had similar requirement and perhaps have some test code?