[riot-notifications] [RIOT-OS/RIOT] drivers: add support for SHT2x (I2C temp and humidity sensor) (#10750)

Kees Bakker notifications at github.com
Mon Feb 4 22:15:56 CET 2019


keestux commented on this pull request.



> +    SHT2X_ERR_I2C_READ  = -4,           /**< I2C read error */
+    SHT2X_ERR_TIMEDOUT  = -5,           /**< timed out */
+    SHT2X_ERR_CRC       = -6,           /**< CRC error */
+    SHT2X_ERR_USERREG   = -7,           /**< cannot write User Reg */
+    SHT2X_ERR_RES       = -8,           /**< invalid resolution */
+    SHT2X_ERR_OTHER     = -999,         /**< fatal error */
+};
+
+/**
+ * @brief       Devices supported by this driver
+ */
+typedef enum {
+    SHT2X_TYPE_SHT20    = 0x01,         /**< SHT20 */
+    SHT2X_TYPE_SHT21    = 0x02,         /**< SHT21 */
+    SHT2X_TYPE_SHT25    = 0x03,         /**< SHT25 */
+} sht2x_type_t;

It's removed now

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10750#discussion_r253648937
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190204/6d745a89/attachment-0001.html>


More information about the notifications mailing list