Go to Post When FIRST teams are as numerous and as well supported as basketball teams, we will know that our culture is preparing young people to compete in the 21 st century and we are spending our 2 million minutes wisely. - N7UJJ [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 15-02-2005, 22:32
TMHStitans TMHStitans is offline
Robot Operator-2005
AKA: Eric
#1474 (Tewksbury Titans)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Tewksbury, Massachusetts
Posts: 6
TMHStitans has a little shameless behaviour in the past
Question Programming motors with joystick buttons

I am a relatively new programmer on a second year team. I was wondering if anyone knows if it is possible to program a window motor using the joystick buttons. What our team would like to do is to program our joystick so that when we press one button, the arm motor goes forward. When we press another button, we want the motor to go back. I do not know how to translate the relay outputs to a pwm output which would make the motor move. I tried writing an if statement that makes the pwm produce an output if a button is pressed, however nothing happens. I have performed countless searches for this information. The only threads I found talked about operating pnuematics using the joystick buttons, not motors. I do not know how to wire or program the relays so as to get a pwm output. I would appreciate any help. Thanks.

Lead Programmer, Team 1474
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the extra buttons on the joystick. Code\\Pilot Programming 7 04-12-2004 19:30
problem with joystick buttons (top left one) Richomundo Programming 5 15-02-2004 17:16
Programming the second joystick in PBASIC archiver 2001 2 24-06-2002 00:25
Looking for practice motors & extra tape drive parts? archiver 2000 1 23-06-2002 22:54
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32


All times are GMT -5. The time now is 00:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi