View Single Post
  #3   Spotlight this post!  
Unread 20-01-2008, 05:56
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: A New Programmer

Quote:
Originally Posted by Spartan151 View Post
So, I can use MPLab to extract the default code and edit it, correct?
You'll need to get the default code from the IFI website here.

- Once you've extracted all the files, open the FrcCode.mcw file. It should load MPLAB.
- You should see two windows, the Project Browser and the Output window. In the Project Browser, double click on user_routines_fast.c
- Scroll down to the User_Autonomous_Code function. Insert the autonomous code you written after the line that reads
Code:
/* Add your own autonomous code here. */
- Follow the directions here on how to download your code to your robot.

Good luck
--Ryan

P.S.: Remember to check your semicolons!