[Tinyos-help] counter channel

Michael Schippling schip at santafe.edu
Mon May 18 08:49:23 PDT 2009


I have some limited T1 support for ATMEGA PWM and Counter use here:
http://www.etantdonnes.com/Motes/AVR128timers.zip
I think the IRIS is ATMEGA so it oughta work. Now that I think
of it I may not have implemented the Counter part in that code,
just the period timer. But it's a reasonable basis for hacking
if you can interpret the controller manual...

If your signal is fairly slow, the other approach would be to run a
Timer as fast as possible and sample the input on each fire.
MS



sivagami amirthalingam wrote:
> Hi,
>  I am using mda300 board and i want to measure Pulse per seconds. Pulse 
> input is given to counter channel. I am using defualt values. To find 
> the PPM I want to know how much time the counter is counting the pulse. 
> Also I want to change the counting  time.I am using IRIS and Moteworks. 
> Can any one help to find out the counting time .
> thanks in advance
> 
> */
> /*
> 
> 
> ------------------------------------------------------------------------
> Bollywood news, movie reviews, film trailers and more! Click here. 
> <http://in.rd.yahoo.com/tagline_movies_1/*http://in.movies.yahoo.com/?wm=n/> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list