Uln2003 Class

Definition

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

Remarks

It is tested and developed using the 28BYJ-48 stepper motor and the ULN2003 driver board.

Constructors

Uln2003(Int32, Int32, Int32, Int32, GpioController)
Uln2003(Int32, Int32, Int32, Int32, GpioController, Boolean, Int32)

Initialize a Uln2003 class.

Properties

Mode

Sets the stepper's mode.

RPM

Sets the motor speed to revolutions per minute.

Methods

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.

Applies to