Update defines.h

Change to bottom of file to create a function that will tell me if the sonar is within "distance" of the ground. Not tested.