Issue I have is I cant figure out how to get it to count once then wait for the switch to change states.
Don't use goto.Why use 2 x while and then throw in a goto?
//Increments x by one if Button 1 is Low
y=5.759; //circumfrence of wheel in feet z=0; //feet traveled so far m=5280; // feet per mile
const float y=5.759; //circumfrence of wheel in feetconst float m=5280; // feet per mile