Hi,

please reply to the mailing list, not directly to me.

You may use TimerMilliC as Timer<TMilli> component. The command
startOneShot(uint32_t dt) accepts a 32 bit integer, so you can use it
to signal a time up to (2^32-1)/1024 seconds in the future, that is
69905 minutes or 1165 hours. Of course you can also signal smaller
amounts of time and use a simple counter to identify the desired
target time (for example you may count up to 60 with a timer that
shots every minute to measure an hour).

Regards.

--
Giuseppe Cardone


On Mon, May 31, 2010 at 10:38 AM, raoudha baklouti
<[email protected]> wrote:
>
> Hi
> I have juste saw the link, I think that I can use Timer only per second
> TMilli; // 1024 ticks per second
> T32khz; // 32768 ticks per second
> TMicro; // 1048576 ticks per second
> So I can't use Timer for one minute or one hour???
>
> Cordially,
>
> --- En date de : Lun 31.5.10, Giuseppe Cardone 
> <[email protected]> a écrit :
>
> De: Giuseppe Cardone <[email protected]>
> Objet: Re: [Tinyos-help] Timer
> À: "raoudha baklouti" <[email protected]>
> Cc: [email protected]
> Date: Lundi 31 mai 2010, 10h02
>
> Hi,
>
> please refer to TEP102 , http://www.tinyos.net/tinyos-2.x/doc/html/tep102.html
>
> Regards
>
> --
> Giuseppe Cardone
>
>
>
> On Mon, May 31, 2010 at 9:15 AM, raoudha baklouti
> <[email protected]> wrote:
> > Spam detection software, running on the system 
> > "mail.Millennium.Berkeley.EDU", has
> > identified this incoming email as possible spam.  The original message
> > has been attached to this so you can view it (if it isn't spam) or label
> > similar future email.  If you have any questions, see
> > the administrator of that system for details.
> >
> > Content preview:  Hi all, TimerMillic() : gives a peiod of one millisecond.
> >  I want to know the other possibilities. Where can I found the explanation
> >  of different function that can I used with TinyOS? Cordially Hi all, 
> > TimerMillic()
> >   : gives a peiod of one millisecond. I want to know the other 
> > possibilities.
> >   Where can I found the explanation of different function that can I used 
> > with
> >   TinyOS? Cordially [...]
> >
> > Content analysis details:   (3.9 points, 3.3 required)
> >
> >  pts rule name              description
> > ---- ---------------------- 
> > --------------------------------------------------
> >  3.2 FH_DATE_PAST_20XX      The date is grossly in the future.
> >  0.0 HTML_MESSAGE           BODY: HTML included in message
> >  0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
> >                            [score: 0.5000]
> >  1.1 DNS_FROM_OPENWHOIS     RBL: Envelope sender listed in 
> > bl.open-whois.org.
> > -0.5 AWL                    AWL: From: address is in the auto white-list
> >
> > The original message was not completely plain text, and may be unsafe to
> > open with some email clients; in particular, it may contain a virus,
> > or confirm that your address can receive spam.  If you wish to view
> > it, it may be safer to save it to a file and open it with an editor.
> >
> >
> > _______________________________________________
> > 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