Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Pin event timing (fixes #664) #665
Re-works the pins API to use timing information provided by underlying drivers (in particular pigpio) so that timing events from remote pins will be considerably more accurate (also seems to improve the accuracy of some local implementations too, probably because time sampling is done "closer" to the actual event).
Sep 23, 2018
Had a chance to test some more of this today and I'm happy with it, though it'd be great if someone else could have a play too? The codecov fails can be ignored; they're largely down to lots of stuff changing in native which can't be tested on Travis (but the tests pass just fine on a real Pi - sometime in the new year I must set up a permanent gpiozero test bed).
@@ Coverage Diff @@ ## master #665 +/- ## ========================================== - Coverage 86.84% 73.54% -13.3% ========================================== Files 37 22 -15 Lines 7776 4136 -3640 Branches 0 589 +589 ========================================== - Hits 6753 3042 -3711 + Misses 1023 1019 -4 - Partials 0 75 +75