[riot-notifications] [RIOT-OS/RIOT] add driver for SDS011 active laser dust sensor (#10458)

MichelRottleuthner notifications at github.com
Tue Jan 29 12:02:29 CET 2019


MichelRottleuthner commented on this pull request.



> + */
+typedef struct {
+    uint16_t pm_2_5;  /**< Particulate Matter 2.5 concentration [0.1µg/m^3] */
+    uint16_t pm_10;   /**< Particulate Matter 10 concentration [0.1µg/m^3] */
+} sds011_data_t;
+
+/**
+ * @brief   callback for measurements actively reported by the SDS011 sensor
+ */
+typedef void (*sds011_callback_t)(sds011_data_t *data, void *ctx);
+
+/**
+ * @brief   Device descriptor definition for SDS011 Laser Dust Sensor
+ */
+typedef struct {
+    sds011_params_t   params;

done

-- 
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/10458#discussion_r251785971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190129/e86d8dc2/attachment.html>


More information about the notifications mailing list