# Table border detection
if prox.ground.delta[0] < 130 or prox.ground.delta[1] < 130 then
motor.left.target = 0
motor.right.target = 0
call leds.bottom.left(32, 0, 0)
call leds.bottom.right(32, 0, 0)
else
call leds.bottom.left(0, 0, 0)
call leds.bottom.right(0, 0, 0)
end