View Single Post
  #4   Spotlight this post!  
Unread 11-01-2007, 10:19
P1d40n3's Avatar
P1d40n3 P1d40n3 is offline
Commander Programmer
AKA: Adam Burch
FRC #0842 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Aug 2006
Rookie Year: 2006
Location: Phoenix, Arizona
Posts: 14
P1d40n3 has a spectacular aura aboutP1d40n3 has a spectacular aura aboutP1d40n3 has a spectacular aura about
Re: What are we supposed to do!?!?!?!??!?!

Quote:
Originally Posted by Bomberofdoom View Post
Yes, I know about the PWM numbers of forward and backwards and I'm expirienced with C(even with Visual c++), but what am I supposed to do now? You say the drive system is easy, but I don't understand what am I supposed to look at that it shows that it's easy!
I've asked someone from another team in my country and from what I understood, he said that it is all written there.
But I don't see it! I only see that they put the values of p1_y(which is what?!?!) to pwm01 and all kind of other stuff, but I don't see anything with number values(mabye except with the leds). Is that where I'm supposed to write the engines part??
p1_y -> Port 1's y-axis (Ie: The y-axis of the joystick plugged into port 1)

pwm01 -> this is the code representation of PWM01 on the RC

the code pwm01 = p1_y would map the y-axis of port 1's joystick to PWM output 1.

I recommend the RC Reference guide, found here. Reading that should answer your questions.