ultrasonic sensor library

Discussion in 'Arduino IDE' started by Netzer, Apr 5, 2014.

  1. Netzer

    Netzer New Member

    Apr 5, 2014
    Likes Received:

    i found the ultrasonic library "newping" not working for me on the arduino due to not supported interrupt channels.
    I've written my own class to support multiple ultrasonic devices and therefore wanted to ask if there would be need to make it public and how this would preferably be done. It does support multiple devices (number of devices constrained due to necessarity of available static functions) and uses interrupts to be reported for falling / raising pin-input. Unfortunately one has to call a 'poke'-function yet (each loop) to get the sensors to check for the necessarity to send a new trigger (so no timed callback).

    - Netzer

Share This Page