detect_wall()
#
DescriptionReturns True when a distance below the threshold is reached. The sensor range is up to 1.5 meters (150cm)
#
Syntaxdetect_wall()
detect_wall(distance)
#
Parametersdistance: An optional parameter that is the threshold in centimeters that will return True. The default value is 50
#
ReturnsNone