Serialport set empty terminator

조회 수: 4 (최근 30일)
Tom van den Broek
Tom van den Broek 2021년 5월 17일
편집: Tom van den Broek 2021년 5월 17일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Serial and USB Communication에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by