Hi I am new to programming and am a bit confused with pulseIn function used for the ultrasonic sensor.I am unging texas Instrumesnts LM4F. The statement is duration = pulseIn(PB_0, HIGH); what does this command do? as in stores the time taken to turn the PB_0 to become high or stores the time PB_0 stays in the high mode? Thanks.
↧