/* ISR to detect the start of a bit being sent to the software UART.  */
ISR(INT0_vect, ISR_BLOCK)
/* ISR to detect the start of a bit being sent to the software UART.  */
ISR(INT0_vect, ISR_BLOCK)
{
	RX_BitsRemaining = 8;
	TCNT1 = -(OCR1A >> 1);
	if (!(SRXPIN & (1 << SRX)))
	{
		EIMSK = 0;
		TCCR1B = ((1 << CS10) | (1 << WGM12));
	}
}