- #1
Sebastian B
- 9
- 0
Hi all,
I am currently working on an Arduino project that involves multiple stepper motors. The motors are told how to move by an external txt file. However, sometimes the processing of how the steppers have to move takes longer than the actual movements themselves. Some movements should only take about 20 microseconds. However the calculation for that movement takes almost in the millisecond domain.
At the moment, I am processing the data in real time and them sending commands of how to move the motors. I was wondering if I should process all the data first and store it in some type of file (if yes what filetype?) or if I should use some sort of buffer?
Thanks for your times.
I am currently working on an Arduino project that involves multiple stepper motors. The motors are told how to move by an external txt file. However, sometimes the processing of how the steppers have to move takes longer than the actual movements themselves. Some movements should only take about 20 microseconds. However the calculation for that movement takes almost in the millisecond domain.
At the moment, I am processing the data in real time and them sending commands of how to move the motors. I was wondering if I should process all the data first and store it in some type of file (if yes what filetype?) or if I should use some sort of buffer?
Thanks for your times.