fivdi / pigpio

Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
MIT License
943 stars 89 forks source link

Run stepper motor for a precise number of steps. #138

Open gsabran opened 3 years ago

gsabran commented 3 years ago

Would it be possible to provide examples for how to use pigpio for a stepper motor in the ReadMe 🙏 ? This issue was raised in the past (https://github.com/fivdi/pigpio/issues/88) at a time where waveforms were not supported. They are now (https://github.com/fivdi/pigpio/pull/95) 🎉! It's however unclear to me how one would use waveforms to write code such as this python example.