Re: [Tinyos-help] Tricky code segment. For MicDetector

2009-04-27 Thread Michael Schippling
I'm sorry I just don't have the neural capacity to follow the intent of the included code without reformatting it and making some kind of reverse engineering map...however... recording, m_mic1, and m_mic2 are all arrays and apparently used as buffers for microphone data. Why recording is int8 and

[Tinyos-help] Tricky code segment. For MicDetector

2009-04-26 Thread Jacob Cox
I'm hopeful someone out there can explain this piece of code to me. My programming skills aren't quite up to par with this. I see that recording is an address, I believe m_micdest is a pointer that points to the address buffers first array[0] address. I'm not positive what function the m_mic1