[riot-notifications] [RIOT-OS/RIOT] drivers: add gp2y10xx dust sensor (#15445)

Jean Pierre Dudey notifications at github.com
Mon Nov 16 10:29:43 CET 2020


@jeandudey commented on this pull request.



> +/* calculates the ADC sample value by filtering it with all
+ * previous ADC readings */
+static int32_t _adc_filter(gp2y10xx_t *dev, int32_t adc_line_value) {

Changed to filter on `gp2y10xx_read_density` multiple times, it improved the sensor output and the code.

-- 
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/15445#discussion_r524022429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201116/e56c7574/attachment.htm>


More information about the notifications mailing list