Description Stops multiple servos simultaneously. After calling this function, the behavior of each servo is the same as calling stop(). Grammar aiservoMultiStop() aiservoMultiStop(servo1) aiservoMultiStop(servo1, servo2) aiservoMultiStop(servo1, servo2, … , servo64) Parameters servo1 ~ servo64: Variable of type AIServo. You can enter 1 to 64 AIServo-type parameters to specify which servos to start, or leave them blank. If no […]
Description Simultaneously resumes multiple paused servos, allowing them to continue rotating toward their target positions. After calling this function, the behavior of each servo is the same as calling resume(). Grammar aiservoMultiResume() aiservoMultiResume(servo1) aiservoMultiResume(servo1, servo2) aiservoMultiResume(servo1, servo2, … , servo64) Parameters servo1 ~ servo64: Variable of type AIServo. You can enter 1 to 64 Servo-type parameters to specify […]
Description Pauses multiple servos simultaneously. After calling this function, the behavior of each servo is the same as calling pause(). Syntax aiservoMultiPause() aiservoMultiPause(servo1) aiservoMultiPause(servo1, servo2) aiservoMultiPause(servo1, servo2, … , servo64) Parameters servo1 ~ servo64: Variables of type AIServo. You can enter 1 to 64 AIServo-type parameters to specify the servos to start, or leave them blank. If no […]
Description Sets and enables the AIServoPort. Syntax bus.begin(HardwareSerial, Baudrate) Parameters bus: A variable of type AIServoPort. HardwareSerial: The port to communicate with the servo. For example: Serial1, Serial485. Baudrate: The baud rate used for communication. For example: 115200, 1000000. Example 1 2 3 4 5 6 7 8 9 10 11 12 13 #include <AIServo86.h> […]
Description Initializes the AIServoPort class. Syntax AIServoPort(Vendor, Servo) bus Parameters Vendor: The vendor of the servo to be connected to this bus. For example: ROBOTIS. Servo: The model of the servo to be connected to this bus. For example: AX12, RX28, MX28, XL320. Example 1 2 3 4 5 6 7 8 9 10 11 […]
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. […]
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. […]
Description Checks if the servo is moving. Syntax servo.isMoving() Parameters servo: A variable of type AIServo. Return Returns true if the servo is moving. Returns false otherwise (e.g., if the servo is paused, stopped, released, or has reached its target position). Example 1 2 3 4 5 6 7 8 9 10 11 12 13 […]
Sorry, this entry is only available in 繁體中文.
Sorry, this entry is only available in 繁體中文.