Brick
Brick(SerialPort, GpioController, Int32, Boolean)
Brick(String, GpioController, Int32, Boolean)
BuildHatInformation
InputVoltage
LedMode
ClearFaults()
Dispose()
FloatMotor(SensorPort)
GetActiveSensor(SensorPort)
GetMotor(SensorPort)
GetSensor(SensorPort)
GetSensorType(SensorPort)
IsActiveSensor(SensorType)
IsMotor(SensorType)
MoveMotorForDegrees(SensorPort, Int32, Int32, Boolean, CancellationToken)
MoveMotorForSeconds(SensorPort, Double, Int32, Boolean, CancellationToken)
MoveMotorToAbsolutePosition(SensorPort, Int32, PositionWay, Int32, Boolean, CancellationToken)
MoveMotorToPosition(SensorPort, Int32, Int32, Boolean, CancellationToken)
SelectCombiModesAndRead(SensorPort, Int32[], Boolean)
SelectModeAndRead(SensorPort, Int32, Boolean)
SendRawCommand(String)
SetMotorBias(SensorPort, Double)
SetMotorLimits(SensorPort, Double)
SetMotorPower(SensorPort, Int32)
StopContinuousReadingSensor(SensorPort)
SwitchSensorOff(SensorPort)
SwitchSensorOn(SensorPort)
WaitForSensorToConnect(SensorPort, CancellationToken)
WriteBytesToSensor(SensorPort, ReadOnlySpan<Byte>, Boolean)
PowerFault
net10.0-windows7.0
namespace Iot.Device.BuildHat
{
public class Brick : IDisposable
{
public void SelectModeAndRead(SensorPort port, int mode, bool readOnce);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Iot.Device.Bindings , Version=3.2.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Iot.Device.Bindings (3.2.0) net6.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API