Hi list. It looks like the printf() tutorial here is out of date:
http://docs.tinyos.net/index.php/The_TinyOS_printf_Library In a recent commit, the old printf files were moved to a 2_0_2-subdirectory, and there are a few differences in the new version. One difference that I'm having trouble with (and was hoping the tut would clarify) is the lack of a PrintfFlush interface. According to the new PrintfP.nc file's comments, if you want to flush sooner than the default, you need to call printfflush() directly. My app needs to call printfflush() because I want printf output to be displayed quickly, instead of waiting until the printf buffer (250 chars) is half-full. How can I call printfflush() in my app if the function isn't in an interface or header file? For now I will use the 2_0_2 version. David. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
