13.07.2015 Views

Programming - VEX Robotics

Programming - VEX Robotics

Programming - VEX Robotics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

programmingautonomous programsusing a sensor, continued3Make sure your robot is set up according to the motor and sensorguide and your robot is on. Compile and download this code to therobot. (Refer to the programming sequence section earlier in thischapter for detailed steps on compiling and downloading.)4At this point, your robot should not be doing anything. Theterminal window should open automatically. If it does not,click on the terminal window icon in the toolbar.5You should see the window below, with text scrolling across it.If you press and release the bump sensor, you should see theBumper Switch output number change between 1 and 0. Pressand release the bump sensor until you are familiar with the itsoperation.01/31/05The terminal window is the window used to display any informationgathered from the robot, not only information from the bump sensor. Ifyou have purchased any of the Sensor Accessory Kits, you will find thateasyC also comes with test programs for all of these, and all the testprograms will function very similarly.Inventor’s Guide8 • 35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!