View Single Post
  #5   Spotlight this post!  
Unread 20-03-2002, 20:32
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Broken Robot Controller

Quote:
Originally posted by Dan_550
I have a dillema here. This dillema is a half broken robot controller -- it won't accept user code. What do I do to get this fixed? Can it be exchanged for another at J&J? I don't know why in the heck I was just told this, but our programming ninnies apparently recieved it broken. It does function in the pre-loaded code, so what do I do?
More than likely, if it will run the default code, it's not broken.

What exactly do you mean when you say "it won't accept user code"?

Does it say "BASIC Stamp not found"? If so, the most likely problem is that the com port is being used by another program (or the system) on your computer, or there's no power to RC, or you have a bad programming cable, etc.

Does it download the program, and then just sit there with the BASIC Run Error light lit? If so, you could simply need to reset the RC after downloading the program. Or you may have a program error. Be sure your program is reading the same number of data bytes in the SERIN command as you initialized the master microprocessor to send you. (Read the comments in the default program beginning at "DEFINE CONSTANTS FOR INITIALIZATION" if you don't understand what I'm talking about.) The BASIC Run Error will also happen if your program manages to not come back to read more data at the SERIN command. (Or if it's not doing it often enough.)

Could you post your program, and maybe someone here can help with debugging your code?
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me