ClosedCube_SHT31D_Arduino
ClosedCube_SHT31D_Arduino copied to clipboard
Arduino library for ClosedCube SHT31-D (SHT30-D, SHT35-D) Digital Humidity & Temperature Sensor breakout board
In member function 'SHT31D ClosedCube_SHT31D::periodicFetchData()': error: control reaches end of non-void function
Using a SHT35, what would be causing this error and how can i fix it? every other library i have used conflicts with the screen i am using. your one...
Hi, I believe there is a return statement in periodicFetchData. The existing code is: ```cpp SHT31D ClosedCube_SHT31D::periodicFetchData() { SHT31D_ErrorCode error = writeCommand(SHT3XD_CMD_FETCH_DATA); if (error == SHT3XD_NO_ERROR) return readTemperatureAndHumidity(); else returnError(error);...
When compiling ver 1.5.1 with MKR Wifi 1010 board selected and using Arduino IDE 2.0 the following warnings are reported 1) LITTLE_ENDIAN redefined 2) SHT31D_Commands command; -usused variable 3) ClosedCube_SHT31D.cpp:56:1:...
fix for bug https://github.com/closedcube/ClosedCube_SHT31D_Arduino/issues/9
changed the loading timing of the Wire library. It compiles without including Wire in .ino.
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...
also fixes #5
The value calculated in and returned from ReadSerialNumberSHT35() appears to be incorrect. With one particular SHT35 sensor, the bytes returned were, in the order of first byte returned (MSB) to...