Hi All
I changed the timer.startoneshot to 100 from 1200 (microseconds is the unit
I feel but not specified in the MicP file) inside MicP and also the
prescalar return value to 5 and now the LED's are blinking at the rate as
expected. But I am not sure if this is the right way to do this ?

I am using IRIS motes and MTS310CB sensor board and trying to get 10 KHz
sampling. I am using the ReadStream interface, and the timing it takes for
the buffer to fill and readDone to get signalled is just as expected (0.2
seconds for 2000 sample buffer).. but I wanted to confirm whether this is
the right way to get such high sampling ?

This timing does not change no matter what value I provide to the
ReadStream.read(val) as sampling period, which is something that is
bothering me.. but if I put very high value in read(val)  then it responds
correctly but not for low values like 100 (microseconds)


Please someone who has worked with ReadStream and/or MicStream please guide
me with my work

Thanks
Akankshu
-- 
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

Reply via email to