What buffer are you talking about????
Cheers, Varun Jain From: Akankshu Dhawan [mailto:[email protected]] Sent: Thursday, 4 June 2009 12:26 AM To: Varun Jain Subject: Re: [Tinyos-help] sampling microphone data and storing Hi varun Thanks a lot for your help. I have been able to get the ReadStream to compile but it uses a buffer. I wanted to know how I can use that buffer ? Regards Akankshu Dhawan On Wed, May 6, 2009 at 2:15 AM, Varun Jain <[email protected]> wrote: 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 -- 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
