Preliminary version: External interrupts

Delay accuracy test OK at 128 KHz.
External interrupt test OK.
Code size = 156 bytes