rwaldron / johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.
http://johnny-five.io
Other
13.3k stars 1.77k forks source link

pingRead() not available on IntelEdison #1160

Closed jerwallace closed 8 years ago

jerwallace commented 8 years ago

The pingRead() method is not available when using an Intel Edison.

Object #<Galileo> has no method 'pingRead'

wicktus commented 8 years ago

http://johnny-five.io/platform-support/#intel-edison-arduino

As you can see ping is not supported by the edison ;).

rwaldron commented 8 years ago

Thanks for the report! As @wicktus noted, there is no support for the pingRead method on Intel Edison—nor can there be, as it's timing requirements cannot be met.

rwaldron commented 8 years ago

If you can, I recommend using the "backpack" approach: http://johnny-five.io/examples/proximity-hcsr04-i2c/