aiservoMultiRun()
Description
Simultaneously starts multiple servos. After calling this function, the behavior of each servo is the same as calling run().
Grammar
aiservoMultiRun()
aiservoMultiRun(servo1)
aiservoMultiRun(servo1, servo2)
aiservoMultiRun(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 you can enter no parameters. When this function is called without parameters, it means that all servos that have been attach() are started.
Postback
None
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()
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.