View Single Post
  #16   Spotlight this post!  
Unread 19-01-2008, 22:14
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
Re: How to download program to robot?

Quote:
Originally Posted by iwin2000 View Post
Code:
while(1)
{
SetPWM(1,254)
}
So I thought, I'm missing something in my code, something on the robot is broken, or I don't know how to run the code on the robot. Do the boards from last year work for this year? Also, does the Operator interface have to be connected to the robot, even though I don't need it to take any commands from the operator? Can anyone help me out? Thanks a lot.
If you are putting this code in the OperatorControl section of EasyC you do not need the while(1) statement. Make sure you tether your robot (with the red cable) after you set your team number on the OperatorInterface so it can automatically set the team number in the Robot Controller also.

After you tether you can then disconnect the cable and hook up the 2 radios to their respective ports and use the AC Adaptor.

Controller Boards from last year will work on this years robot for testing purposes. I would put a label on your radios (2007 and 2008) so they don't get interchanged.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student