Closed xmeow closed 3 years ago
Thanks for the contribution!
machine.time_pulse_us()
should now be fixed by b7a76e449cf1b437972c21efaf468fbe5891c6a2
The change in this PR adds a new method to pins, which changes (expands) the existing API so is probably not the best way to do it (because then it becomes hard to write code that works on V1 and V2).
This should resolve #26, make hcsr04 works with newbit. Tested with the following code snippet: