EV3GyroSensor 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
EV3GyroSensor(Brick, SensorPort) |
Initialize an EV3 Gyro Sensor |
EV3GyroSensor(Brick, SensorPort, GyroMode) |
Initialize an EV3 Gyro Sensor |
EV3GyroSensor(Brick, SensorPort, GyroMode, Int32) |
Initialize an EV3 Gyro Sensor |
EV3GyroSensor(Brick, SensorPort)
Initialize an EV3 Gyro Sensor
public EV3GyroSensor (Iot.Device.BrickPi3.Brick brick, Iot.Device.BrickPi3.Models.SensorPort port);
new Iot.Device.BrickPi3.Sensors.EV3GyroSensor : Iot.Device.BrickPi3.Brick * Iot.Device.BrickPi3.Models.SensorPort -> Iot.Device.BrickPi3.Sensors.EV3GyroSensor
Public Sub New (brick As Brick, port As SensorPort)
Parameters
- brick
- Brick
Interface to main Brick component
- port
- SensorPort
Sensor port
Applies to
EV3GyroSensor(Brick, SensorPort, GyroMode)
Initialize an EV3 Gyro Sensor
public EV3GyroSensor (Iot.Device.BrickPi3.Brick brick, Iot.Device.BrickPi3.Models.SensorPort port, Iot.Device.BrickPi3.Sensors.GyroMode mode);
new Iot.Device.BrickPi3.Sensors.EV3GyroSensor : Iot.Device.BrickPi3.Brick * Iot.Device.BrickPi3.Models.SensorPort * Iot.Device.BrickPi3.Sensors.GyroMode -> Iot.Device.BrickPi3.Sensors.EV3GyroSensor
Public Sub New (brick As Brick, port As SensorPort, mode As GyroMode)
Parameters
- brick
- Brick
Interface to main Brick component
- port
- SensorPort
Sensor port
- mode
- GyroMode
Gyro mode
Applies to
EV3GyroSensor(Brick, SensorPort, GyroMode, Int32)
Initialize an EV3 Gyro Sensor
public EV3GyroSensor (Iot.Device.BrickPi3.Brick brick, Iot.Device.BrickPi3.Models.SensorPort port, Iot.Device.BrickPi3.Sensors.GyroMode mode, int timeout);
new Iot.Device.BrickPi3.Sensors.EV3GyroSensor : Iot.Device.BrickPi3.Brick * Iot.Device.BrickPi3.Models.SensorPort * Iot.Device.BrickPi3.Sensors.GyroMode * int -> Iot.Device.BrickPi3.Sensors.EV3GyroSensor
Public Sub New (brick As Brick, port As SensorPort, mode As GyroMode, timeout As Integer)
Parameters
- brick
- Brick
Interface to main Brick component
- port
- SensorPort
Sensor port
- mode
- GyroMode
Gyro mode
- timeout
- Int32
Period in millisecond to check sensor value changes
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