[Tinyos-help]where to get info for code dbg("BlinkC", "Timer
0 fired @ %s.\n", sim_time_string());
Urs Hunkeler
uhu at gmx.ch
Mon Dec 3 22:22:01 PST 2007
Hi Sam,
The debug code is for TOSSIM. Depending on how you set the simulation
up, this should show when running the simulation. For more details see
lesson 11 in the tutorial:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html
If you want to show debugging messages on your computer from code
running on real hardware, have a look at lesson 15 in the tutorials:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson15.html
Cheers,
Urs
Renee Azhen schrieb:
> hi, friends,
> in TinyOS 2 sample Blink, there is code:
> dbg("BlinkC", "Timer 0 fired @ %s.\n", sim_time_string());
> but I don't know where to get this info?
> where I can get "BlinkC Timer 0 fired...."
>
> Thanks
> Sam
More information about the Tinyos-help
mailing list