GoPiGo.SetServo(ServoPort, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Move the servo motor with a specific pulse in microseconds
public void SetServo (Iot.Device.GoPiGo3.Models.ServoPort servo, int pulseMicroseconds);
member this.SetServo : Iot.Device.GoPiGo3.Models.ServoPort * int -> unit
Public Sub SetServo (servo As ServoPort, pulseMicroseconds As Integer)
Parameters
- servo
- ServoPort
The servo port Servo1 or Servo2
- pulseMicroseconds
- Int32
The pulse in microseconds