Trouble with obstacle avoiding robot

Hi,
Make sure your hands are not too close as I think that may return a zero too! In my code I just get the distance returned in CM's in the Radar fuction, which then makes the correct turn, after comparing LEFT and RIGHT distances..

Regards

Mel.