Quote:
Originally Posted by diaperrash89
Hello,
We finally got our vex robots up and running and we've just done some pretty basic programming right now. So far our school has just a few sensors, bumpers being one of them. While we're just kicking off this robotics program, we're not so sure how to program the bumpers. I know how to put in the digital input and what not. Do we just have to tell the bumpers to get the digital input? Basically we want to tell it if the bumper is pushed, go the other way.. Advice? thanks.
|
Check out the Programming section of the Vex Inventor's Manual, which is available as a PDF download from the
Vex programming page at Vex Labs. This PDF is a great introduction to using Vex sensors with EasyC, and has specific examples of code that makes a robot back up if it something hits the bumper switch.