Is it possible to measure 15 khz pmw signal with an arduino


I am trying to measure a 15 khz signal with an arduino.The signal is a 15.6 khz RSSI signal from an Xbee. It comes fine in an oscilloscope but is it possible to measure with an arduino?Please let me know how to. I used the pulsein function but it did not help me much.

One weird thing I am observing is that the RSSI values using pulsein works only if I touch the pins on the Arduino FIO board with my hand otherwise I get "nan" (zero value).

Measure it?

youthreewire: "nan" (zero value).

"Not A Number" and "zero" are not the same. If you're getting NaN when you're expecting a number then there's a bug in your code.