Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse-In Block documentation error #326

Open
pjewald opened this issue Mar 3, 2020 · 1 comment
Open

Pulse-In Block documentation error #326

pjewald opened this issue Mar 3, 2020 · 1 comment

Comments

@pjewald
Copy link
Collaborator

pjewald commented Mar 3, 2020

Please add to the docs for the Pulse-in block that it will time out after 250 msec if no pulse is received in that amount of time. If the level of the looked-for pulse is different from the constant level of the pin, it returns zero. If the levels are the same, it returns 23 usec. The 23 seems a bit odd. Shouldn't it, too, be zero instead? That could easily be mistaken for an actual pulse 23 usec wide.

What I have not tested is what happens if a leading edge occurs within the 250 msec but never returns.

Submitted from the Parallax Forums

@phil-pilgrim
Copy link

I'm a bit concerned about the 23 still. That seems like an incorrect output for the situation noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants