Hi
Could anyone please explain me why Wire.h library don't work with Due but it works with mega2560?
When I try to compile (with Due) for example unmodified I2C-scanner by Mr Gammon, I only get error message "twi.c:25:20: fatal error: avr/io.h: No such file or directory" no matter which folder I try to copy such a file.
I'm using very version of Wire-library which is another attachment.
BR
- Tommi
PS. I've tried IDE 1.6.0 and 1.5.8 so far.
I2C_scanner.ino (764 Bytes)
Wire.zip (54 KB)