-->
Page 2 of 2

Re: Mutiple I2C Devices with SAME Address - SHT21/HTU21D

PostPosted: Sat Feb 04, 2017 12:09 pm
by martinayotte
fra_savio wrote:C:\Users\Desktop\arduino-1.8.1\hardware\arduino\avr\libraries\Wire\src/Wire.h:54:10: note: candidate expects 1 argument, 2 provided


You are using the wrong Wire library, it should not be "hardware\arduino\avr\libraries\Wire", but ".arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/", or your installation isn't properly done.

Re: Mutiple I2C Devices with SAME Address - SHT21/HTU21D

PostPosted: Mon Feb 06, 2017 1:42 pm
by GengusKahn
Hi there, if you try to compile the sketch whilst the ESP8266 is not the selected board, it will produce this error, the IDE will select the correct wire lib when you choose the ESP8266 in the board manager.