Go to Post We can build it... we have the technology...better than it was before... Better...stronger...faster.... more PINK - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 19-01-2008, 22:04
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 Hazmatt View Post
Can I just download the IFI source code hex file to the robot?
Another question... do I have to hold the program button down as I turn the robot on?
With you saying HEX file I'm assuming that you are using MPLab and the IFI Default code and loader. If you look at the default code under 1 Joystick Drive you will see the Default PWM placement is:
Left 13 and 14
Right
15 and 16
Your joystick should be plugged into Joystick Port 1

I sent you a Private Message with even more detailed instructions
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
  #17   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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upload/download the code from a robot? Team865 Programming 3 06-11-2007 17:03
How Can I Program The FRC Robot Controller To Display My Team Number jesusescobar Programming 5 22-01-2007 10:29
program download question. Tachion Technical Discussion 1 27-10-2005 10:49
program download problem zdeswarte Programming 5 23-03-2005 06:46
Crashing on program download Ryan M. Programming 3 01-02-2005 21:15


All times are GMT -5. The time now is 00:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi