|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
New programmer with new LabView. We need to program a gearbox to go one direction by pushing a trigger button and reverse the direction with the other trigger button. We have not gotten anywhere with our attempts. Any help?
|
|
#2
|
|||||
|
|||||
|
Re: XBox 360 triggers
Here's a generic example of driving a motor by button.
![]() The xBox right/left triggers though are actually treated as axis 2 & 3, so you'd need a variation. The Left and right triggers produce a floating point number from 0.0-1.0 So give yourself a little wiggle space and replace the button feeds in the example with the checks: Axis 2 > .1 (or .5) Last edited by Mark McLeod : 20-01-2015 at 22:53. |
|
#3
|
|||
|
|||
|
Re: XBox 360 triggers
Thank you, Mark! We are now running all three motors!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|