Using #if defined(__arm__) will also match to Teensy 3.0, Leaflabs Maple, and all other ARM-based boards that are created in the future.
Perhaps #if defined(__SAM3X8E__) would be a better check for Due?
Using #if defined(__arm__) will also match to Teensy 3.0, Leaflabs Maple, and all other ARM-based boards that are created in the future.
Perhaps #if defined(__SAM3X8E__) would be a better check for Due?