Frequency counter and phase shift

Hi all

i need help or even a piece of code . I want to send data from notepad to arduino .This is a comma separated data .I want to use this data to calculate its frequency and phase shift . The data on the attached file .

I want to send data from notepad to arduino .

Well, good luck with that. Notepad hasn't a clue what a serial port is, or how to open one, or how to write to one if one mysteriously appeared.

refiloekunene:
Hi all

i need help or even a piece of code . I want to send data from notepad to arduino .This is a comma separated data .I want to use this data to calculate its frequency and phase shift . The data on the attached file .

Apart from the fact that there is no attached file, serious computation is normally better done on the PC and only the results passed to the Arduino.

i have managed to get frequency and separate data , I just need phase shift .

refiloekunene:
i have managed to get frequency and separate data , I just need phase shift .

So you are half way there ! Of course we still have trouble helping you since we still don't know what your original data looks like (the values not just the file format) and now we don't know how you have estimated the frequency.