Hi, I am using tinyos 1.x and can able to use the timer to fire every 5 minutes in micaz.I typecasted (uint32_t) 300000 to the timer component.
--MGM On Thu, Mar 25, 2010 at 8:43 PM, Philip Levis <[email protected]> wrote: > > On Mar 25, 2010, at 3:15 AM, Vikram vik76 wrote: > > > Hello, > > I am using Atmega128 based MicaZ motes. > > I am not able to use a value more than uint32_t value for the timers > > on MicaZ platform. > > It accepts only uint16_t values which doesnt provide more that 65535 > > milliseconds. or 65 seconds roughly. > > I have a requirement for starting the timer periodically after 300 > seconds. > > Can I achieve that? > > Or can I change the precission tag from TMilli to a lower precision of > seconds? > > Take a look at the set of library components in tos/lib/timer. You'll find > one (or a combination of several) that fit your needs. > > Phil > _______________________________________________ > 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
