Skip to content

Allow SoftwareSerial to share RX and TX pins. [imported] #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cmaglie opened this issue Nov 15, 2012 · 1 comment · May be fixed by #480
Open

Allow SoftwareSerial to share RX and TX pins. [imported] #205

cmaglie opened this issue Nov 15, 2012 · 1 comment · May be fixed by #480
Assignees

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 1022 moved from a Google Code project.
Added by 2012-08-30T14:00:13.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-SoftwareSerial

Original description

What change would like to see?

From Ed Baafi. The ability for SoftwareSerial to use the same pin for RX and TX (half-duplex). See: https://github.com/Modkit/Arduino/commits/new-extension for a possible implementation.

It would be good if this worked well / simply if you only wanted to either transmit or receive, but not both.

Why?

To reduce pin usage.

Would this cause any incompatibilities with previous versions? If so, how
can these be mitigated?

@sbrynen
Copy link

sbrynen commented Apr 29, 2015

I've submitted a pull request to allow passing SOFTWARESERIAL_UNUSED for a pin you don't want to use to allow TX only or RX only

@sandeepmistry sandeepmistry transferred this issue from arduino/Arduino Sep 16, 2019
@dominikberse dominikberse linked a pull request Jun 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants