BulldogLowell:
so, are you are looking to make a state change when a certain distance criteria is met...why don't I see any variable called distance?
I just typed the current needed in the if, don't want to add something for the distance since I know 1.5V is what I need.