FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you invert a servo when using a Y-Splitter cable?

When programming the servos for my robot I wanted to have item running in opposite directions while moving on the same button. Since I'm using the new labview I can't program more than one action on each button, so I used the Y-Splitter to solve that problem. But no matter what I do, the servos still run simultaneously in the same direction. How do I invert one of the Servos?

0 Kudos
Message 1 of 2
(4,110 Views)

Hey Viva31,

I would set it up so you wire your button to a case structure and inside of that case structure you write out different values to the different servo outputs. This would be the programming solution and you would need to wire servos to individual outputs so they can be controlled independently.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 2
(3,093 Views)