Open anthonyjclarke opened 7 years ago
This will fix the massages.
uint8_t sht30_adress = 0x44; // or 0x45 SHT3X sht30(sht30_adress);
I am getting the same error. I changed the code as indicated by @WireFighter1 but the error remains. Anything else I can try?
Same here, the new code did not help for me either I’m afraid. Using Arduino IDE 1.8.8
Using Arduino IDE 1.8.2 I get these warnings, any suggestions on fixing?
/Volumes/Macintosh HD 2/Users/Documents/Arduino/libraries/WEMOS_SHT3x_Arduino_Library-master/src/WEMOS_SHT3X.cpp: In member function 'void SHT3X::get()': /Volumes/Macintosh HD 2/Users/Documents/Arduino/libraries/WEMOS_SHT3x_Arduino_Library-master/src/WEMOS_SHT3X.cpp:28:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default] Wire.requestFrom(_address, 6); ^ In file included from /Volumes/Macintosh HD 2/Users/Documents/Arduino/libraries/WEMOS_SHT3x_Arduino_Library-master/src/WEMOS_SHT3X.h:12:0, from /Volumes/Macintosh HD 2/Users/Documents/Arduino/libraries/WEMOS_SHT3x_Arduino_Library-master/src/WEMOS_SHT3X.cpp:1: /Volumes/Macintosh HD 2/Users/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:69:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int) uint8_t requestFrom(int, int); ^ /Volumes/Macintosh HD 2/Users/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:67:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t) uint8_t requestFrom(uint8_t, uint8_t);