Initial set-up with external clock.
ISR on the M1 pin.