Go to Post and isn't this fun? :) CD is great :D - rick.oliver [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 16-06-2006, 18:35
zafara17 zafara17 is offline
Registered User
FRC #0639
 
Join Date: Jun 2006
Location: Ithaca, NY
Posts: 1
zafara17 is an unknown quantity at this point
Vex Programming Help!

Hi. I am programming my vex robot and was wondering if the remote control stick could be configured so it is a tank drive, upwards and downwards, and each left and right movement of each joystick could be set to trigger a few motors. I was wondering if this is possible with regular C programming and what the code looks like.

If this is not possible, can any of the other buttons on the vex remote control to be set to trigger motors?

Thank you.
  #2   Spotlight this post!  
Unread 18-06-2006, 13:48
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Vex Programming Help!

If you are using MPLab just have something like this:
pwm01 = PWM_in2; // Left drive = left joystick up/down
pwm02 = PWM_in3; // Right Drive = right joystick up/down

//for one motor on each joystick left/right
pwm03 = PWM_in1; //extra motor 1 = Left joystick left/right
pwm04 = PWM_in4; //extra motor 2 = right joystick left/right

//for multiple motors on each joystick left/right
pwm03 = pwm04 = ... = PWM_in1;
pwm05 = pwm10 = ... = PWM_in4;

I don't know EasyC , but you should be able to do something similar.
__________________
Eric Haskins KC9JVH
  #3   Spotlight this post!  
Unread 18-06-2006, 14:12
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Vex Programming Help!

Quote:
Originally Posted by Kyle Love
Linked is an aray of vex help items, some of the stuff may be found to be useful.
Since the above link will expire in a few hours, use this link if the above link does not work. (You will need to hit "Search Now").
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
VEX programming Gene F Programming 14 08-08-2006 22:21
Vex Programming help! davelu Programming 4 23-12-2005 22:03
Vex Programming Module Vex FIRST Tech Challenge 3 30-08-2005 21:27
Vex like programming? Morenoh149 Programming 2 09-07-2005 22:32
Vex Programming foobert FIRST Tech Challenge 3 24-06-2005 01:09


All times are GMT -5. The time now is 21:17.

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