Uln2003 Class
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.
This class is for controlling stepper motors that are controlled by a 4 pin controller board.
public class Uln2003 : IDisposable
type Uln2003 = class
interface IDisposable
Public Class Uln2003
Implements IDisposable
- Inheritance
-
Uln2003
- Implements
It is tested and developed using the 28BYJ-48 stepper motor and the ULN2003 driver board.
Uln2003(Int32, Int32, Int32, Int32, Gpio |
Initialize a Uln2003 class. |
Uln2003(Int32, Int32, Int32, Int32, Gpio |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Rotate(Int32) |
Rotates the motor. If the number is negative, the motor moves in the reverse direction. |
Step(Int32) |
Moves the motor. If the number is negative, the motor moves in the reverse direction. |
Stop() |
Stop the motor. |
Produkt | Versioner |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |