Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Arduino Yun-NAV}}
 
{{Arduino Yun-NAV}}
   −
<h4>begin()</h4>
+
<h4>writeMessage()</h4>
    
== Description ==
 
== Description ==
Classe [[Arduino Yun-Librairie#Bridge_-_classes_et_m.C3.A9thodes|Bridge]], librairie/bibliothèque  d'[[Arduino Yun-Librairie|Arduino Yùn]].
+
Writes a message from the AVR to the Linux processor.  
 
  −
Starts Bridge, facilitating communication between the AVR and Linux processor. This should be called once in ''setup()''
  −
 
  −
''begin()'' is a blocking function. Once you call Bridge.begin(), nothing else will happen in your sketch until it has completed. This process takes approximately three seconds.  
      
== Syntaxe ==
 
== Syntaxe ==
   −
Bridge.begin()  
+
Bridge.writeMessage(buffer, size)  
    
== Paramètres ==
 
== Paramètres ==
 
+
* '''buffer''': (int) The buffer to read
aucun
+
* '''size''': (int) The size of the buffer
    
== Résultat ==
 
== Résultat ==
Ligne 28 : Ligne 24 :  
== Voir aussi ==
 
== Voir aussi ==
 
* [[RB-ARD-YUN-Class-Bridge|constructeur Bridge]]
 
* [[RB-ARD-YUN-Class-Bridge|constructeur Bridge]]
* [[RB-ARD-YUN-Process-Func-begin|Process.begin()]]
+
* [[RB-ARD-YUN-Bridge-Func-begin|Bridge.begin()]]
* [[RB-ARD-YUN-Console-Func-begin|Console.begin()]]
+
* [[RB-ARD-YUN-Bridge-Func-readMessage|Bridge.readMessage()]]
* [[RB-ARD-YUN-Bridge-Func-readMessage|Bridge.readMessage()]] [http://arduino.cc/en/Reference/YunReadMessage src]
  −
* [[RB-ARD-YUN-Bridge-Func-writeMessage|Bridge.writeMessage()]] [http://arduino.cc/en/Reference/YunWriteMessage src]
  −
* [[RB-ARD-YUN-Bridge-Func-messageAvailable|Bridge.messageAvailable()]] [http://arduino.cc/en/Reference/YunMessageAvailable src]
  −
 
      
{{Arduino Yun-TRAILER}}
 
{{Arduino Yun-TRAILER}}
29 917

modifications

Menu de navigation