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.

programmingprogramming introductionprogramming sequenceNow that you’ve had some practice downloading and usingthe included programs, it's time to learn to write some ofyour own! These are the three basic steps you will followeach time you create a new program for your robot.1. Write Code 2. Compile & Download 3. TestWrite your program in easyC.Launch easyC and select “NewProject” from the “File” menu.Once you have completedyour code, make sure yourprogramming hardware is setup properly and the robot is on.Then select the “Build & Download”option from the “Build &Download” menu.Run your code! Immediatelyafter download, your robot willstart executing the code. Tore-run the code from thebeginning, switch off your robot,and then switch it back on.A confirmation screen willappear. Click “Yes”.Drag function block iconsinto the program window towrite or edit code.easyC will replace old codeon the robot with new codeIf you receive an errormessage during compile anddownload, please refer to thetroubleshooting section.01/31/05Inventor’s Guide8 • 23

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

Saved successfully!

Ooh no, something went wrong!