<p>
Currently, only a single buffer is used to store the strings supplied to
calls to <code>printf</code> before flushing them. This means that while
- the buffer is being flushed, any calls to <code>printf</printf> will fail.
+ the buffer is being flushed, any calls to <code>printf</code> will fail.
In the future, we plan to implement a doubled buffer approach so that
strings can continue to be buffered at the same time they are being printed.
</p>
}</pre>
<p>
Notice that the last line of output is cut short before being fully printed.
- If you actually read the line printed above it can see why. The buffer
- used to store TinyOS <code>printf</code> messages befor ethey are flushed
- is limited to a total of 250 bytes. If you try and print more characters then
+ If you actually read the line printed above it you can see why. The buffer
+ used to store TinyOS <code>printf</code> messages before they are flushed
+ is limited to a total of 250 bytes. If you try and print more characters than
this before flushing, then only the first 250 characters will actually be printed.
As of now, this buffer size is fixed and can't be changed. In the future we
hope to allow developers to specify custom buffer sizes at the time that
<hr>
<center>
<p>< <b><a href="lesson13.html">Previous Lesson</a></b> | <b><a
- href="index.html">Top</a></b> | <b><a href="lesson16.html">Next Lesson </a> ></b>
+ href="index.html">Top</a></b> |
</center>
+
</body>
</html>