With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
can somebody explain me the pulseIn() function. In the Arduino site they say pulseIn() function 'Reads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing'. So as they say it doesn't start timing when trigger signal is sent. rather it start timing when echo signal is initially get a signal. And stop timing when echo signal stop receiving waves. From that time measure can we calculate the distance as above equation?
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.