Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Are there other serial function to do this?

1 vue (au cours des 30 derniers jours)
Set Rubio
Set Rubio le 24 Sep 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Walter Roberson
Walter Roberson le 24 Sep 2015
If you are using a serial() object then you can look at the BytesAvailable property of the object.

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by