Skip to content

Re-assign UART pins? #834

@ElDuderino

Description

@ElDuderino

Is it possible to re-assign the UART pins during runtime to connect to another peripheral? For example:

//connect to primary external peripheral device
Serial1.setRX(1);
Serial1.setTX(0);
Serial1.begin(9600);
//talk to primary peripheral device
//end and connect to secondary external peripheral
Serial1.end()
Serial1.setRX(13);
Serial1.setTX(12);
Serial1.begin(9600);
//talk to 2nd peripheral device

Is something like this supposed to work?

(BTW Thank you for the excellent arduino port!!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions