isAIServoMultiMoving()
Description
Simultaneously check the status of multiple servers.
Grammar
isAIServoMultiMoving()
isAIServoMultiMoving(servo1)
isAIServoMultiMoving(servo1, servo2)
isAIServoMultiMoving(servo1, servo2, … , servo64)
Parameters
servo1 ~ servo64
: Variable of type AIServo
.
You can enter 1 to 64 Servo type parameters to specify the servos to start, or enter no parameters. If no parameters are entered, the status of all servos will be checked.
Return
Returns true if at least one servo is running. Returns false if all servos are paused, stopped, released, or have reached their target position.
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
See also
– attach()
– setPosition()
– run()
– servoMultiRun()
Library Reference Page
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.