Go to Post I can't wait until IFI starts their FRC sized competition and quickly overtakes FRC. - AdamHeard [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2006, 19:57
caderader's Avatar
caderader caderader is offline
caderader
#1284 (DART)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: gville
Posts: 19
caderader is an unknown quantity at this point
problems programming knob and switch

I am trying to use a knob to control the speed of one pwm motor and a switch to control a spike. If anyone knows how to do this or can help me please do. Thank You.

p.s. if you need me to tell you anything else or give you anymore info I can. Thanks again.
  #2   Spotlight this post!  
Unread 14-02-2006, 20:07
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: problems programming knob and switch

You need to read the information about the joystick ports, hook up your own potentiometer, and a switch to any one of the digital and analog ports, then program your robot to respond to them on the right joystick port.

For information on wiring, check http://ifirobotics.com/docs/oi-ref-guide-11-21-05.pdf the pages you want are 5 - 10. Good luck.
__________________
My Blog!
  #3   Spotlight this post!  
Unread 14-02-2006, 23:10
caderader's Avatar
caderader caderader is offline
caderader
#1284 (DART)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: gville
Posts: 19
caderader is an unknown quantity at this point
Re: problems programming knob and switch

we have already wired the joysticks and i have four different switches and 2 knobs wired. THe main problem was how to call these different things. Btw all these auxillary switches i mentioned aboce are in port 4. As far as i could figure it had something to do with the use of p4_aux.(not sure if thats actually what its called since i dont have the code in front of me) Thanks Again.
  #4   Spotlight this post!  
Unread 14-02-2006, 23:16
sburro's Avatar
sburro sburro is offline
Registered User
AKA: Joe
FRC #0663 (crusaders)
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2002
Location: LOWELL
Posts: 129
sburro will become famous soon enoughsburro will become famous soon enough
Send a message via AIM to sburro
Re: problems programming knob and switch

Quote:
Originally Posted by caderader
we have already wired the joysticks and i have four different switches and 2 knobs wired. THe main problem was how to call these different things. Btw all these auxillary switches i mentioned aboce are in port 4. As far as i could figure it had something to do with the use of p4_aux.(not sure if thats actually what its called since i dont have the code in front of me) Thanks Again.
First, I am no programer by far but I will ask for som info I know others might need. Fisrt, we need to know what pins the knobs and switches are connected to. From this info, someone (not me, I do not know enough at the moment) can tell you how to call the values from the switches and knobs.
__________________
K.I.S.S
Keeping It Simple Stupid
  #5   Spotlight this post!  
Unread 16-02-2006, 16:45
caderader's Avatar
caderader caderader is offline
caderader
#1284 (DART)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: gville
Posts: 19
caderader is an unknown quantity at this point
Re: problems programming knob and switch

ok what about if i just wanted to make a trigger activate full forward.
Closed Thread


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


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

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