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
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16