A sketch that fits on an ATtiny45 and lets it act like a software configurable external watchdog timer