martinayotte wrote:Is it compile time problem or runtime ?
If you enable verbose in preferences, at the beginning of compile the IDE displays the paths of the libraries you've included.
Is the I2C comes from something like .arduino15/packages/esp8266/hardware/esp8266/1.6.5-947-g39819f0/libraries/Wire (this path will differ since you are on 1.6.6) ?
Did you provides PullUp resistors on I2C pins ?
Thanks for reply, after made some research I found out I was using a wrong memory address, I changed it and it worked!!. Thanks for your help