Are there other serial function to do this?

Hello. Are there some way to know if there are something in the serial input buffer without read it? In other words, without using the fscanf (serial) function. Thanks in advance.

Respuestas (1)

Walter Roberson
Walter Roberson el 24 de Sept. de 2015

0 votos

If you are using a serial() object then you can look at the BytesAvailable property of the object.

La pregunta está cerrada.

Productos

Preguntada:

el 24 de Sept. de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by