phucktdt / eggbotcode

Automatically exported from code.google.com/p/eggbotcode
1 stars 0 forks source link

EBB SP command turns off other servo outputs #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In 2.1.5, the SP command, when used with other servo outputs, sometimes 
(always?) causes all other servo outputs to be turned off. For example, if you 
do 
SP,0,100,2
after a reset, the servo pulses on RB1 will go off, and new pulses will appear 
on RB2. (The pulses on RB1 should stay on.)

Original issue reported on code.google.com by brian.schmalz on 7 Nov 2012 at 10:42

GoogleCodeExporter commented 8 years ago
This behavior is exactly what is intended. The SP command is only meant to 
activate one output at a time, as there is only one pen-arm servo. You can 
re-locate that servo to any of the PORT B RC Servo headers using the third 
parameter to the SP command, but it will only output RC servo pulses on one pin 
at a time.

If you want to have more than one RC Servo output at the same time, simply use 
the S2 command.

Original comment by brian.schmalz on 18 Nov 2012 at 4:42