pigpio
pigpio copied to clipboard
How to create a wave chain on two gpio simultaneously and with different frequencies
Hello I try to run two stepper motor drivers at the same time. Since synchronicity is important to me, I tried to run two wave chains at the same time, but when the second chain starts, the first chain stops. Is there a way to solve my problem? Or is there a library that produces the exact number of pulses and frequencies? I also checked and found that the pwm software generated by the pigpiod is accurate but can not control the number of pulses. I also used the callback function but it does not respond at high frequencies. Thank you
Is there a way to solve my problem?
Yes, very likely. If you still have a need and you could not find a solution from searching past issues, then let me know and I will try to help you.
Yes, very likely. If you still have a need and you could not find a solution from searching past issues, then let me know and I will try to help you.
Yes, I haven't set up the two stepper motor drives yet. Just note that stepper motors operate at different frequencies and with different number of pulses. Thanks