This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
RS-485 full duplex example disables the receiver when sending data #110
Closed as not planned
Description
Hello,
At the moment, the RS-485 full duplex example disables the receiver when sending data. This defeats the purpose of full duplex:
comm_protocols.rs485.noReceive();
comm_protocols.rs485.beginTransmission();
comm_protocols.rs485.print("hello ");
comm_protocols.rs485.println(counter++);
comm_protocols.rs485.endTransmission();
// Re-enable receive mode after transmission
comm_protocols.rs485.receive();
If this is not necessary, the example should be changed to leaving the receiver enabled.
If this is necessary (perhaps due to a physical limitation of the Portenta Machine Control that requires the receiver to be disabled when sending data???) then the limitation should be clearly documented.