Using the Futaba servo motor with a GoGo board
From GoGoWiki
Connect the Futaba motor to one of the output ports [A, B, C, or D] by pushing the black plug down onto a set of three prongs sticking up beside the selected output port. Make sure that the white wire is facing the edge of the GoGo board and the black wire is facing toward the inside of the GoGo board.
Once the motor is connected, use the setsvh command to control it. Here is an example.
repeat 5 [ a, setsvh 20 wait 30 a, setsvh 40 wait 10 ]
The input numbers 20 and 40 for setsvh in the example above cause the cross-rotor of the motor to turn to two specific positions, approximately 90 degrees apart from each other.
Note: The numbers 20 and 40, as well as numbers in between, are fairly reliable and give consistent results with the setsvh command. Numbers less than 20 and greater than 40 may not work well with this particular system.




