Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

timing could be more accurate #15

Open
simonbrouwer opened this issue Nov 1, 2014 · 0 comments
Open

timing could be more accurate #15

simonbrouwer opened this issue Nov 1, 2014 · 0 comments

Comments

@simonbrouwer
Copy link

Evaluating the send command I found that actual pulse times are quite consistently about 80 microseconds too long.

The timing can be much improved by a call to piHiPri() which is a function in WiringPi. It raises the scheduling priority of the process resulting in more accurate timing. See the WiringPi example code DelayTest.c

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

No branches or pull requests

1 participant