For those who are looking for such errors:
I'm going to port a project from Mega2560 to Teensy 3.2. I had two stumbling blocks, which gave me long nights:
1. On the AVR processor, all pins are set to INPUT after reset. This is not the case with Teensy 3.2. For example, the external interrupts...