arduino-i2c-scanner
arduino-i2c-scanner copied to clipboard
use the Wire library instead of twi; the Zero doesn't have twi definitions
The Arduino Zero doesn't have twi.h defined.
I initially wrote an #ifdef wrapper for the Zero case, but I realized that the return codes for the endTransmission and twi_writeTo are identical (even in the case of the Zero, which has an entirely separate endTransmission implementation).