NSFW
NSFW
Top trace: output of T2 / input of RX pin. Middle trace: the 'debug' pin, digitalWrite(DEBUG_PIN, digitalRead(RX)); Bottom trace: the VPW line. 
Something about this library's translation from pin number to interrupt callback doesn't work properly on the Mega 2560. I hacked around it as follows: I replaced this: ``` void J1850VPWFriend::__handleRnChange(int...
I figured out the lag issue, and it was totally self-inflected. Moving the digitalWrite(DEBUG, digitalRead(RX)) call out of the main loop and into the interrupt handler fixed it. The scope...
The sniffer example is working now. The key thing was to to prevent the handleError callback from using the serial port when J1850_ERR_PULSE_OUTSIDE_FRAME happens. Use of the serial port during...
Flipping the transistors fixed the output side, and I've confirmed with someone at the Fritzing forum that the transistor silkscreen is 180 degrees off. I don't know how I missed...