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.


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


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


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