View Single Post
  #6   Spotlight this post!  
Unread 13-11-2003, 20:59
GregTheGreat's Avatar
GregTheGreat GregTheGreat is offline
Registered User
no team
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 386
GregTheGreat has a spectacular aura aboutGregTheGreat has a spectacular aura aboutGregTheGreat has a spectacular aura about
Quote:
Originally posted by Jeremy_Mc
We have the default code.

We're having difficulties getting the RC to respond to anything. The PWM's just stay at 127 no matter what values we try to enter into them and/or change with code.

We downloaded the EduController from the White Papers and tried to dissect that, but it was a bit over our heads seeing as how we're not exactly the most experienced with C.

What we really need is to know WHAT to put...I think we've figured out where to put it (Mostly because it says "Put your own code here"...but yes.), so if anyone out there can show us a brief example of how to make the robot go forward. I think we're merely changing the wrong variables (clinging to my PBASIC p2_y and pwm02 variables...), but maybe I'm just inputting the code wrong?

Thanks for any help you can offer.
If you like Pbasic, see if you can get a converter. I believe they make them...try a download site, or do a websearch. Then you can run re-declare in C. It might make things simpler on you. I really have not got into the EDU programming yet, I will look into it, but I am not making any promises.

Possibility: Maybe you have a line in your code, where you declare your variables... It might be set to neutral, and whenever you go into your loop it just keeps it at neutral. Check that first, that often is the problem.

-Greg The Great