View Single Post
  #1   Spotlight this post!  
Unread 23-01-2009, 11:29
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
Unhappy Programming Joystick Buttons to toggle a motor on and off

Hello there, can someone please help? I want to use a joystick button to toggle on and off a motor. If logitech button 3 is pressed once, turn the motor on with a speed of .5 If the button number 3 is pressed again, turn the motor off. In this case, it would be controlled by joystick connected to usb port 3.
Attached is what i have so far. Any help would be greatly appreciated.
Attached Files
File Type: zip BuiltinDefaultCode.zip (1.32 MB, 67 views)
__________________
"I would love to change the world but no one will give me the source code"
Reply With Quote