Add interrupt setup for master

Attach to pin 11, set output of pins required, add in to relevant area
of loop to blip the low to high
Missing retry counter reset

Added in retry counter reset otherwise loop would have continued to
sleep when hitting the 120 limit (2 minutes)