ultrasonic sensor library

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

  1. Netzer

    Netzer New Member

    Joined:
    Apr 5, 2014
    Messages:
    1
    Likes Received:
    0
    Hello,

    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).

    Regards
    - Netzer
     

Share This Page