Variable in setup being run every loop

BulldogLowell:

int bikeOn = true;

declares a new int variable called bikeOn and sets it equal to true.

you now have two bikeOn variables... a global and a local...

Thanks for the help. I'm not sure what you are saying.

are you saying to add another in? if so where?

or

Are you saying I already have 2 and I need to remove 1?