
Re: will this work for a vex bumper
*I've done it for you here, but next time you post code, please put it in
tags to make it easier to read.
Right now, the way you have it, if the bumper isn't pressed when you start the program, it will immediately end. It will check the first if statement, and if it's not pressed, go down to the end, where I see no more code. If you want it to keep checking, you're going to have to put everything in a while loop.