mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

Adding basic StepperMotor support with two implementations #130

Closed EAGrahamJr closed 1 year ago

EAGrahamJr commented 1 year ago

Fixes #125

Not entirely sure if this matches with the 1.4 changes you have in mind, but this is currently working with the two types listed.

There's some holes in the implementations that need to be filled in for full implementation.

EAGrahamJr commented 1 year ago

Tweaked the thread management and some action handling.

mattjlewis commented 1 year ago

Gives me motivation to actually connect the stepper motor I bought.