On Fri, 2005-11-18 at 16:07 -0700, Michael Schippling wrote:
> Just some suggestions...
> 
> If it's the ADD instruction itself you should be able to
> 'add' up cycle times specified in the controller's assembler
> manual.

> Otherwise you can use an internal TIMER by reading before
> and after, or toggle an LED before and after and time it
> with a scope or external counter.

These are all good approaches. I've found the easiest one is to use an
internal timer. E.g., get TCNT3 running, read it at the beginning of the
code and at the end, take the difference.

Phil

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

Reply via email to