Arduino left and right closest object

Writes left and right to arduino to make it move according to closest object.