servo
Connection to servo motor onArduinoMKR Motor Carrier or Nano Motor Carrier
Description
This object represents a connection to a servo motor with the specified motor number on an MKR Motor Carrier or a Nano Motor Carrier. You can control the servo motor using the functions listed underObject Functions.
Creation
Description
creates a connection to the servo motor at the specified motor number on the Arduino®MKR Motor Carrier or Nano Motor Carrier.servoObj
=伺服(mcObj
,motornumber
)
Input Arguments
Properties
Object Functions
Use these object functions to create a connection to the servo motor.
writePosition |
Write position of servo motor connected to MKR Motor Carrier or Nano Motor Carrier |