I don't find a TEP 11, but I'm not that good at looking either.

There are two approaches to counting and timing input pulses.
In software one can simply sample the port value on every timer
tick and do the necessary when you get what you want. Or you
can look into the hardware Timer Capture/Compare features to
do it automagically. I don't think any of the Timer features
are implemented under TOS, other than my attempt for the micas:
http://www.etantdonnes.com/Motes/AVR128timers.zip
but if you are good at manual interpretation it's not that hard.

MS

Javier Barbarán wrote:
> Hi everybody,
> 
> Im working on a project using sensors, and we have a Iris OEM mote 
> integrated in a circuit, and I need to read the incoming pulses from pin 
> INT5_58 (in particular I need to read how many pulses I have per 
> second), I have taken a look at TEP 117 but still having some doubts on 
> how to develop it.. so I would appreciate any help or comments or 
> advices even!...
> 
> Thank u very very much in advance
> 
> Regards
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to