04-19-2021 02:39 AM
Hello,
I am going to use linx to program a stepper motor control VI. The stepper motor driver I use is A4988 and TB6600. The stepper's rotating speed depends on the frequency of pulse inout to the driver, so i use a digital square wave generator in linx to attain this request.
But now the output frequency 60Hz(which is shown in an escilloscope) is not identical with the frequency 1Hz I input in my VI. I do not have any idea about this problem.
I am asking this question on behalf of someone else, any input is very much apprecated.
04-19-2021 07:54 AM
Hi,
The LINX firmware calls the Arduino tone function.
Here is a link to more information
https://github.com/bhagman/Tone#ugly-details
It's possible that other channels may allow a lower frequency. It would depend on the microcontroller on the Arduino board.
04-19-2021 09:40 PM
ok thank you