Look for this in OscilloscopeM.nc::start():
      call Timer.start(TIMER_REPEAT, 125);

The 125 argument is the number of "binary milli-seconds" to wait
between sample cycles. If you are using >= T1.1.10 the minimum
value for this is 3. However if you run that fast you will overrun
the message transmit time, so you probably want to put a discriminator
on the sampled data and only send a message when it changes.

MS

Matthew Melucci wrote:
> Is there a way to speed up how fast it gets data and writes it? I use
> mica2 and use Listen > output to write to a file. I have an app I
> wrote that tracks people entering and exiting through an area. I point
> a laser at the sensor and if it gets cut from someone walking through
> it and breaking it I record it. But the problem is it only works if
> they break the beam for so long. A quick break isn't recorded. Is
> there a way to fix this? Thanks!!!
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to