You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling this library against any STM32 it fails:
src\ClosedCube_SHT31D.cpp:416:8: error: 'class TwoWire' has no member named 'readBytes'
Wire.readBytes(buf, (uint8_t)2);
The problem is that, for the STM32, the Wire class is not inherited from Stream class, so it has no readBytes method.
Consider replacing the readBytes to read 2 bytes to be able to make this library compatible with STM32.
The text was updated successfully, but these errors were encountered:
When compiling this library against any STM32 it fails:
src\ClosedCube_SHT31D.cpp:416:8: error: 'class TwoWire' has no member named 'readBytes'
Wire.readBytes(buf, (uint8_t)2);
The problem is that, for the STM32, the Wire class is not inherited from Stream class, so it has no readBytes method.
Consider replacing the readBytes to read 2 bytes to be able to make this library compatible with STM32.
The text was updated successfully, but these errors were encountered: