Interfacing w/ Software on the Computer
(Read 519 times)
Apr 06, 2011, 07:39 pm
I'm sending a signal to my Arduino Uno board via a Win32 C++ program. Would anyone know how I can check the time from when the signal is sent to the time the board receives it?
In theory there is no difference between theory and practice, however in practice there are many...
Apr 06, 2011, 08:13 pm
Let the Arduino echo the signal and let the C++ program measure the time, and divide it by two That should give you a fair approximation of the time needed.
This works in theory for any protocol you are using. It is the basis of the NTP protocol to synchronize computers time.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)