Go to Post Ah, this sounds like a sitcom whose pilot I should write and send to NBC - "Life With Lavery". There's a lot of eating, several practical jokes, and lots of bad hair. - Amanda Morrison [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 31-01-2005, 19:41
rcubes85 rcubes85 is offline
Registered User
no team (TBD)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 1999
Location: Troy NY
Posts: 39
rcubes85 is on a distinguished road
Send a message via AIM to rcubes85
URgent Programming Help needed

Hi how are you doing i am doing programming for the first time and we are using a F-16 Fighter stick

http://www.surcouf.com/images/catalo...77/g147734.jpg

I was wondering do any one know what we have to do so that we can use one of the buttons on this joystick to do some let say move the robot to a certain position. Like if you push a button on the joy stick the robot arm will move to a certain position. so what the process i have to go through to get this done. like what do we have to change in the code, and what wires do we have to use we are using the globe motors too. thank you

I understand that we have to use the code listen below but in what way or form
thanks


#define p1_sw_trig rxdata.oi_swA_byte.bitselect.bit0 /* Joystick Trigger Button, same as Port4 pin5 */
#define p1_sw_top rxdata.oi_swA_byte.bitselect.bit1 /* Joystick Top Button, same as Port4 pin8 */
#define p1_sw_aux1 rxdata.oi_swA_byte.bitselect.bit2 /* Aux input, same as Port4 pin9 */
#define p1_sw_aux2 rxdata.oi_swA_byte.bitselect.bit3 /* Aux input, same as Port4 pin15*/
__________________
you can run from the past
you can change the present
but you can't outrun the future
becuase what you do in the presents depicts your future
 


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Help needed for getting started! chantilly_team Programming 4 27-10-2004 08:29
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
Urgent!! (programming question) anupalsingh Programming 6 25-02-2004 10:53


All times are GMT -5. The time now is 10:22.

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