I am trying to transfer data between a arduino and an ESP8266 wifi module. I am trying transfer this data via i2c, using the "EasyTransfer" library
However, i am having trouble getting the esp8266 version to compile, i get"
In file included from /Users/Michael/Documents/Arduino/sketch_feb23a/sketch_feb23a.ino:7:0:
/Users/Michael/Documents/Arduino/libraries/EasyTransferI2C/EasyTransferI2C.h:44:20: fatal error: avr/io.h: No such file or directory #include <avr/io.h>
^
compilation terminated.
exit status 1
Error compiling.
which i guess is because the esp8266 isn't an avr.... but is there a way around this problem?
However, i am having trouble getting the esp8266 version to compile
Is the ESP8266 an AVR device?
but is there a way around this problem?
Post a link to the library. There may be no reason for it to include that file. Most libraries do not need to. If the file is needed, and is appropriate, Arduino.h will include it.
I did include a link to the library in the OP, but here it is again:
I edited out the #include <io.h> and it seems to compile just fine, so now i'm going to solder on some pins and hook up some wires and see if it is working.