The SHT3x.master library no longer works at all (on Arduino Uno or mega)
Impossible for the moment to use the SHT3x-master library even with the examples provided, the compilation gives the following error: C:\Users\PC desktop Gilles\Documents\Arduino\libraries\SHT3x-master\SHT3x.cpp: In member function 'void SHT3x::Begin(int, int)': C:\Users\PC bureau Gilles\Documents\Arduino\libraries\SHT3x-master\SHT3x.cpp:16:7: error: 'Wire1' was not declared in this scope else Wire1.begin(SDA, SCL); ^~~~~
I'm trying on an Arduino Uno!
I tried to insert #define Wire1 Wire in SHT3x.h, or SHT3x.cpp or in my sketch but instead of Wire is not defined I get the error: C:\Users\PC desktop Gilles\Documents\Arduino\libraries\SHT3x-master\SHT3x.cpp: In member function 'void SHT3x::Begin(int, int)': C:\Users\PC bureau Gilles\Documents\Arduino\libraries\SHT3x-master\SHT3x.cpp:16:27: error: no matching function for call to 'TwoWire::begin(int&, int&)' else Wire1.begin(SDA, SCL);
By deleting in the file SHT3x.cpp all the program blocks calling on WIRE1 it works but it is not too clean if each time it is necessary to modify this library... Is it due to an update of the wire library? Which is no longer compatible with SHT3x.master? Should a new version be needed?
Thanks