Motor Constructors
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.
Overloads
Motor(GoPiGo, MotorPort) |
Create a motor |
Motor(GoPiGo, MotorPort, Int32) |
Create a motor |
Motor(GoPiGo, MotorPort)
Create a motor
public Motor (Iot.Device.GoPiGo3.GoPiGo brick, Iot.Device.GoPiGo3.Models.MotorPort port);
new Iot.Device.GoPiGo3.Movements.Motor : Iot.Device.GoPiGo3.GoPiGo * Iot.Device.GoPiGo3.Models.MotorPort -> Iot.Device.GoPiGo3.Movements.Motor
Public Sub New (brick As GoPiGo, port As MotorPort)
Parameters
- brick
- GoPiGo
GoPiGo3 brick
- port
- MotorPort
Motor port
Applies to
Motor(GoPiGo, MotorPort, Int32)
Create a motor
public Motor (Iot.Device.GoPiGo3.GoPiGo brick, Iot.Device.GoPiGo3.Models.MotorPort port, int timeout);
new Iot.Device.GoPiGo3.Movements.Motor : Iot.Device.GoPiGo3.GoPiGo * Iot.Device.GoPiGo3.Models.MotorPort * int -> Iot.Device.GoPiGo3.Movements.Motor
Public Sub New (brick As GoPiGo, port As MotorPort, timeout As Integer)
Parameters
- brick
- GoPiGo
GoPiGo3 brick
- port
- MotorPort
Motor port
- timeout
- Int32
Timeout in milliseconds
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for