You should be able to use Timer/Counter1, but it will take some study of the ATMEGA manual and existing code snippets. I have a bit here: http://www.etantdonnes.com/Motes/AVR128timers.zip but it's for setting up PWM and Capture, rather than a Timer function. It might provide a skeleton for you though.
MS Hofmann Marcel T&A.E_BB.0501 wrote: > hi together > > I have a MICA2 MOTE , ATMEGA128L. How can i programm my mote mica2 for a > 122.88 kHz timer? Someone have a tutorial about this? > > Marcel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Platform: WinXP/Cygwin TinyOS version: 1.x, Boomerang Programmer: MIB510 Device(s): Mica2, MicaZ, Tmote Sensor board: homebrew _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
