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
net11.0-windows7.0
namespace Iot.Device.BuildHat
{
public class Brick : IDisposable
{
public LedMode LedMode { get; set; }
}
}
| .NET | 8.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Iot.Device.Bindings , Version=4.2.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Iot.Device.Bindings (4.2.0) net8.0 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API