I try to read voltage on arduino mega 2560.
I used matlab function "readVoltage(arduino,'A15');".
The function can read the voltage just one point instantaneously.
But, I want to read the voltage on equal interval time by using a function.
The time need to very short and equal interval.
How can I do this?
If I can this, can I know the least equal interval time?
I can't find this on arduino mega 2560 document.