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

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

Enums

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

Traits

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