[riot-notifications] [RIOT-OS/RIOT] drivers: add support for SHT2x (I2C temp and humidity sensor) (#10750)
notifications at github.com
Mon Feb 4 11:59:39 CET 2019
PeterKietzmann commented on this pull request.
> + *
+ * @return SHT2X_OK on success
+ * @return SHT2X_ERR_I2C if given I2C is not enabled in board config
+int sht2x_reset(sht2x_t* dev);
+ * @brief Read temperature value from the given SHT2X device, returned in
+ * centi °C
+ * @param[in] dev Device descriptor of SHT2X device to read from
+ * @returns The temperature in centi Celsius. In case of an error
+ * it returns INT16_MIN.
+int16_t sht2x_read_temperature(const sht2x_t* dev);
If I see it correctly, this (and the other) read functions go to sleep for some time. Would you mind to add a note on that?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications