From 453ba4daf9872214eec9ce9124551adbd82541f2 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 3 Aug 2017 12:27:30 +0700 Subject: [PATCH] update changelog --- changelog.md | 1 + .../examples/TwoPortReceive/TwoPortReceive.ino | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 7f9b8a2d..3398f9ae 100644 --- a/changelog.md +++ b/changelog.md @@ -11,6 +11,7 @@ - Enhance Adafruit_FIFO, add overwriteIfFull(), begin(). change constructor's signature - Add Serial.setPins() to remap Serial rx, tx. Must call before Serial.begin() - Enhance AdafruitFIFO +- Add SoftwareSerial support ### Bluefruit diff --git a/libraries/SoftwareSerial/examples/TwoPortReceive/TwoPortReceive.ino b/libraries/SoftwareSerial/examples/TwoPortReceive/TwoPortReceive.ino index 47d58091..e17d58ba 100644 --- a/libraries/SoftwareSerial/examples/TwoPortReceive/TwoPortReceive.ino +++ b/libraries/SoftwareSerial/examples/TwoPortReceive/TwoPortReceive.ino @@ -13,19 +13,19 @@ The circuit: Two devices which communicate serially are needed. - * First serial device's TX attached to digital pin 9, RX to pin 11 - * Second serial device's TX attached to digital pin 8, RX to pin 10 + * First serial device's TX attached to digital pin A0, RX to pin A1 + * Second serial device's TX attached to digital pin A2, RX to pin A3 This example code is in the public domain. */ #include -// software serial #1: TX = digital pin 11, RX = digital pin 9 -SoftwareSerial portOne(9, 11); +// software serial #1: TX = digital pin A1, RX = digital pin A0 +SoftwareSerial portOne(A0, A1); -// software serial #2: TX = digital pin 10, RX = digital pin 8 -SoftwareSerial portTwo(8, 10); +// software serial #2: TX = digital pin A3, RX = digital pin A2 +SoftwareSerial portTwo(A2, A3); void setup() {