818 octets ajoutés
, 4 février 2014 à 21:20
{{Arduino Yun-NAV}}
<h4>read()</h4>
== Description ==
{{bloc-etroit|text=Classe [[Arduino_Yun-Librairie#Console_-_classes_et_m.C3.A9thodes|Console]], librairie/bibliothèque d'[[Arduino Yun-Librairie|Arduino Yùn]].
Returns the next byte (character) of incoming data from the console without removing it from the internal buffer. Successive calls to peek() will return the same character, as will the next call to read(). peek() inherits from the Stream utility class.}}
Voir aussi:
{{ARDLib|Streaming|http://arduiniana.org/libraries/streaming/|Plus d'info sur le streaming}}
== Syntaxe ==
Console.peek()
== Paramètres ==
aucun
== Résultat ==
int: (entier) the first byte of incoming data available (or -1 if no data is available)
== Exemple ==
aucun
== Voir aussi ==
aucun
{{Arduino Yun-TRAILER}}