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

benpicco notifications at github.com
Mon Nov 16 11:26:24 CET 2020


@benpicco commented on this pull request.



> +        _iled_on(dev);
+        xtimer_usleep(ILED_PULSE_WAIT_US);

Ah so it needs an on -> off transition to start sampling.
Then maybe add a short delay after `_iled_off(dev)` to make sure the off time is not too short on fast CPUs.

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


More information about the notifications mailing list