View Single Post
  #9   Spotlight this post!  
Unread 17-02-2004, 15:15
JoshJ JoshJ is offline
Registered User
#0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Salem County
Posts: 44
JoshJ is on a distinguished road
Send a message via AIM to JoshJ
Re: Programming Help

This may be oversimplified, but all you have to do is use a PWM output as a function of a joystick input. something like pwm(#)=p2_y; (or whatever port your joystick is in). U can even use the Limit_Mix function so that it reads pwm(#)=Limit_Mix(2000+p2_y);

edit: Actually if you are using a joystick, all you have to do is plug it into port2 on the OI, and ur speed controller for the globe into PWM OUT 2 and you are set to go. The y-axis controls the arm. (Default code can do wonders lol)

Last edited by JoshJ : 17-02-2004 at 15:24.