Thread
:
Netbeans programming ONE motor on axis of Logitech Attack 3
View Single Post
#
3
09-03-2014, 12:26
18mfogwell
Registered User
AKA: Michelle Fogwell
FRC #4460 (Green MASHine)
Team Role: Programmer
Join Date: Jan 2014
Rookie Year: 2013
Location: Pennsylvania
Posts: 42
Re: Netbeans programming ONE motor on axis of Logitech Attack 3
Quote:
Originally Posted by
Whippet
Motor.setSpeed(joystick.GetRawAxis(1));
Where 1 can be replaced with your joystick axis, joystick can be replaced with your joystick name, and motor with the name of your PWM output.
Okay, thanks! I will try it!
18mfogwell
View Public Profile
Find all posts by 18mfogwell
Find CD-Media Photos by 18mfogwell
Find CD-Media Papers by 18mfogwell