clarify serial port timeout doc info

This commit is contained in:
Dave Conway-Jones
2018-02-19 19:21:52 +00:00
parent c1d835c1ca
commit 127fb6ac0c
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
<script type="text/x-red" data-help-name="serial in">
<p>Reads data from a local serial port.</p>
<p>Can either <ul><li>wait for a "split" character (default \n). Also accepts hex notation (0x0d).</li>
<li>Wait for a timeout in milliseconds for the first character received</li>
<li>Wait for a timeout in milliseconds from the first character received</li>
<li>Wait to fill a fixed sized buffer</li></ul></p>
<p>It then outputs <code>msg.payload</code> as either a UTF8 ascii string or a binary Buffer object.</p>
<p>If no split character is specified, or a timeout or buffer size of 0, then a stream of single characters