Copy of std Ultrasonic range, but returns Max distance on failure so we can assume nothing close to us. My sensor seems to go low on ping capture, not success, so I changed timeout to max round trip to get full range.
Contains encoder KY040 patch, digital pullup input patch, example of usage. Encoder reads boolean inputs to obtain numerical value of revolution. Boolean outputs are used for clockwise and counterclockwise direction detection respectively.
MIDI nodes: Note, CC, Prog Change. Needs more install: https://github.com/awgrover/xod_lib/blob/master/README.md#user-content-awgrovermidi. Please give feedback on https://forum.xod.io or https://github.com/awgrover/xod_lib