Go to Post "Uh-oh, it's in crazy mode again. Hit the button!" - StephLee [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 14-02-2012, 16:53
BenGrapevine's Avatar
BenGrapevine BenGrapevine is offline
Head Programmer
AKA: Tony Simmering
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Minneapolis, Minnesota
Posts: 46
BenGrapevine is an unknown quantity at this point
Exclamation Motor moving by degree amounts with a button

Hey,

Just a quick question regarding joystick buttons:

How would I make a joystick button so that when it is pressed once it moves a motor in a degree amount (e.g. 45*), then stops?

[ignore if you don't care about why]
We have a door that holds the basketballs from getting into the shooter, (which when the door moves (in a 360* fashion if that makes sense) it lets one ball through) and moving it in increments would be so much easier.
[/ignore]

I can make a motor that is controlled by a trigger where the motor stops when you release it, so I have some exposure to buttons but yeah.

Thanks guys,
Tony

p.s. I've done my research and I haven't really found anything that works.
__________________
Millerbots Team 2549
orange and blue
Reply With Quote
 


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 11: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