I have not worked with microphone, but there is a "ReadStream" interface defined in Tinyos-2.x which can read a Stream of data or you can use 'Read' interface for single read . See the Oscilloscope application as it might help.
Cheers, Varun Jain From: [email protected] [mailto:[email protected]] On Behalf Of Akankshu Dhawan Sent: Wednesday, 6 May 2009 3:26 PM To: [email protected] Subject: [Tinyos-help] sampling microphone data and storing Hi All I am trying to sample microphone data from MTS310 using a MICA2 mote. I am using tinyos-2.x. I want to get around 512 or 1024 samples. I am fine if we can record and send them as a block or stream but I dont really know where to proceed. I wanted to know if someone has worked with microphone since there seems to be very little information regarding the microphone components. I would really appreciate any help. Thanks a lot. Regards Akankshu Dhawan -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
