The sensor continuously sends out infrared light and measures how much of that light is reflected. When a reflective object is within its set detection range, it returns a low signal. The Arduino ...
Currently this library only supports the sensors mentioned above. If you want to use other distance sensors with this libraries you can do that by adding the appropriate source files. Have a look at ...