eliteio / Arduino_New_Ping

New Ping Library from http://playground.arduino.cc/Code/NewPing
12 stars 5 forks source link

Gen 3 Device Support? #3

Closed brooksben11 closed 4 years ago

brooksben11 commented 4 years ago

I understand that SparkIntervalTimer doesn't support Gen 3 devices yet due to OS limitations (at least that's my very limited understanding). Is there any way to fix/adjust this library in the meantime so that it doesn't use that or is that integral to it's functionality?

I've found this particular library to make working with ultrasonic sensors not only significantly easier, but that the outputs much more reliable (I seem to get a lot of errant readings otherwise). I'd love to be able to use it with my Gen 3 devices.

Thanks!

ScruffR commented 4 years ago

IIRC correctly this library heavily relies on precisely timed interrupts and consequently revolves around timed interrupts which are most practically facilitated via SparkIntervalTimer (where it works).

brooksben11 commented 4 years ago

That's kind of what I figured. Any idea when/if they'll get support for SparkIntervalTimer for Gen 3 devices?

ScruffR commented 4 years ago

Nope, but with the additional info Rick has provided in his repo things might start moving again.