Skip to content

[SoftwareSerial] Enable rx-only or tx-only mode #87

@Harvie

Description

@Harvie

I've been in several projects, where i've run out of available pins/interrups, but i've only needed RX or TX (not both), because i've used one-way communication. Can you please add some way to use only one pin like this?:

#define DISABLED -1
SoftwareSerial myRXSerial(10, DISABLED); // RX, TX
SoftwareSerial myTXSerial(DISABLED, 11); // TX only does not need interrupts at all!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions