Serialport set empty terminator

4 visualizaciones (últimos 30 días)
Tom van den Broek
Tom van den Broek el 17 de Mayo de 2021
Editada: Tom van den Broek el 17 de Mayo de 2021
So I need to set the read terminator to CR and the write terminator to nothing.
However the new serialport object does not allow an empty terminator. How do I set it correctly?
s1 = serialport("COM1",9600, "Timeout",3);
configureTerminator(s1, 'CR', '');
Thanks,
Tom

Respuestas (0)

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by