Serial.end, end, Serial1.end, end
Disables serial channel.
When used with hardware serial channels (Serial1, Serial2, etc.), disables serial communication, allowing channel's RX and TX pins to be used for general input and output. To re-enable serial communication, call
When used with USB serial channels (
end() will cause the device to quickly disconnect from Host and connect back without the selected serial channel.
// SYNTAX Serial1.end();