setServoAngle(id,angle,times)
Control the servo motor to rotate to a specified angle (non-blocking)
Parameter
Example
Use uKit Explore v2 board to control the servo motor ID-1 to rotate to 30 ° within 400ms, then to -30 ° within 400ms
Use uKit Explore v2 board to simultaneously control the servos ID-1 and ID-2 to rotate to 30 ° within 400ms, and then to -30 ° within 400ms at the same time.
Last updated