Read an input signal with just ONE INTERRUPT!!!