Log in

View Full Version : EDU Default Code for 1 Joystick


RedNebula
18-12-2003, 15:53
I'm a cadet on team 341, and I have learned C, but I still don't understand the code. Is there anything that will help me understand the code? The comments in the code don't really help.

rbayer
18-12-2003, 17:34
I'm a cadet on team 341, and I have learned C, but I still don't understand the code. Is there anything that will help me understand the code? The comments in the code don't really help.

Well, have you read all the programming reference guides, etc at innovationfirst.com? If not, I'd definately recomend doing that. Otherwise, if you could tell us what parts of the code you're having trouble with, I'm sure somebody here would be happy to help.

-Rob

RedNebula
18-12-2003, 19:23
What exactly are PWMs?

yangotang
18-12-2003, 20:14
In a nutshell: PWM's are speed controllers, which receive a value of 0 to 254 (8-bit) input. 0 is full speed reverse, 254 is full speed forward, and 127 is dead stop.