ESP8266 and Arduino i2c transfer of data

Hello,

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.

Hi

Any feedback on your esp8266 & arduino i2C com ?

I'm trying to make booth communicate over i2c ( not using easytransfer but anyway ), and I encounter a problem.

I can send bytes from esp to arduino correctly, but Arduino to ESP communication fail. ESP received only garbage whatever I've tried.

Just want to know before spending more time on this, if somebody already achieved bug free dual way com using i2C between ESP8266 and arduino.