I have a project in mind that I would like to use an arduino for.
I have a program on a linux machine that reads signals over the serial port and marks the time between the signals in nanoseconds.
I then need to compare the time between the signals (ie time1 - time2 = value)
Can the arduino record time in nanoseconds? Or would there be an alternative way for me to achieve the same goal?
In linux basically I echo to the serial port and every time the carrier detect pin is active I record the time down to the milliseconds, then I compare the times 1 by 1 to each other to see the timing in between the signals.
Hope that makes sense…