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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
