Constrain() ultrasonic inputs to control LED

You have not yet received a value for pingEcho, why are you constraining it or mapping it.

Paul