DCMotor
DCMotor(GpioController, Boolean)
Controller
Speed
Create(PwmChannel)
Create(Int32, GpioController, Boolean)
Create(Int32, Int32, GpioController, Boolean, Boolean)
Create(Int32, Int32, Int32, GpioController, Boolean)
Create(PwmChannel, Int32, GpioController, Boolean, Boolean)
Create(PwmChannel, Int32, Int32, GpioController, Boolean)
Dispose()
Backwards(DCMotor, Double)
Forwards(DCMotor, Double)
Stop(DCMotor)
net6.0
namespace Iot.Device.DCMotor
{
public abstract class DCMotor : IDisposable
{
public static DCMotor! Create(int speedControlPin, int directionPin, int otherDirectionPin, GpioController? controller = null, bool shouldDispose = true);
}
}
.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 net6.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