Crate uln2003

Source
Expand description

28BYJ-48/ULN2003 Driver

Platform-agnostic driver API for the 28BYJ-48 stepper motor used with the ULN2003 driver. Can be used on any platform for which implementations of the required [embedded-hal] traits are available.

Structs§

StepError
gets returned if en Error happens while stepping
ULN2003
Struct representing a Stepper motor with the 4 driver pins

Enums§

Direction
Direction the motor turns in. Just reverses the order of the internal states.

Traits§

StepperMotor
trait to prevent having to pass around the struct with all the generic arguments