Constrain() ultrasonic inputs to control LED

because in the example code from the IDE I'm using they did not read the pingEcho values and they were displayed anyway. All I did to the code was adding these two lines to limit the inputs