Skip to content

Commit 8be082e

Browse files
committed
Add notes aboute using multiple streams.
1 parent 4c1506e commit 8be082e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ mySoftwareSerial.begin(38400);
9393
myPacketSerial.begin(&mySoftwareSerial);
9494
```
9595
96+
On boards with multiple serial ports, this strategy can also be used to set up two Serial streams, one for packets and one for debug ASCII (see [this discussion](https://github.com/bakercp/PacketSerial/issues/10) for more).
97+
9698
To receive decoded packets, the user should register a packet callback. The packet callback should be placed in your main Arduino Sketch and should have a method that looks like this:
9799
98100
```c++

0 commit comments

Comments
 (0)