GoPiGo.SetServo(ServoPort, Int32) Method

Definition

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

Applies to