Explore Plans
Mobile menu Close menu
GraspIOGraspIO

Control Servo Motor

This action will control the Servo Motor angle and speed.

Developer info

API endpoint slug
graspio.servo
Filter code method
Graspio.servo.skip(string?: reason)
Runtime method
runAction("graspio.servo", {})

Action fields

Board ID Dropdown list

Label
Board Name
Helper text
Select the board for the action to run on.
Slug
board_id
Required
true
Can have default value
false

Port Dropdown list

Label
Port
Helper text
Select the port the servo motor is connected to.
Slug
port
Required
true
Can have default value
true
Filter code method
Graspio.servo.setPort(string: port)

Angle Dropdown list

Label
Angle
Helper text
Select the angle of rotation for the servo motor.
Slug
angle
Required
true
Can have default value
true
Filter code method
Graspio.servo.setAngle(string: angle)

Speed Dropdown list

Label
Speed
Helper text
Select the speed for the servo motor.
Slug
speed
Required
true
Can have default value
true
Filter code method
Graspio.servo.setSpeed(string: speed)