Modifications

Sauter à la navigation Sauter à la recherche
199 octets ajoutés ,  14 octobre 2013 à 20:58
Ligne 104 : Ligne 104 :     
== Communication ==
 
== Communication ==
 +
Yún dispose d'un certain nombre d'aménagement pour communiquer avec un ordinateur, un autre Arduino, ou un autre micontrôleur. L'ATmega32U4 dispose d'un canal de communication série TTL (5V, UART) dédicacé. L'32U4 supporte également la communication série sur USB et apparait comme un port com virtuel aux logiciels de votre ordinateur. Le circuit agit également comme un périphérique USB 2.0 (et débit USB 2.0) utilisant les pilotes USB COM standards. Le logiciel Arduino inclus un moniteur série qui permet de d'envoyer et recevoir des données textes élémentaires avec la carte Arduino. Les LEDs RX et TX de la carte clignotent lors d'un échange de donnée série par l'intermédiaire du connecteur USB.
   −
The Yún has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega32U4 provides a dedicated UART TTL (5V) serial communication. The 32U4 also allows for serial (CDC) communication over USB and appears as a virtual com port to software on the computer. The chip also acts as a full speed USB 2.0 device, using standard USB COM drivers. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the USB connection to the computer.  
+
Les broches digitals 0 et 1 sont utilisées pour la communicatio série entre le 32U4 et le AR9331. La communication entre les processeurs est prise en charge par [[Arduino Yun-Librairie|la libraire Bridge]].  
   −
Digital pins 0 and 1 are used for serial communication between the 32U4 and the AR9331. Communication between the processors is handled by the [[Arduino Yun-Librairie|Bridge library]].  
+
La [[ARDLib-SoftwareSerial|librairie SoftwareSerial]] permet d'établir une communication série avec n'importe quelles broches digitals du Yún à l'exception des broches 0 et 1.  
   −
A [[ARDLib-SoftwareSerial|SoftwareSerial library]] allows for serial communication on any of the Yún's digital pins except for pins 0 and 1.
+
L'ATmega32U4 support également la communication I2C (TWI) et SPI. Le logiciel Arduino inclus la librairie Wire pour simplifier l'usage du bus I2C; Voir la [[ARDLib-Wire|documentation de wire pour plus de détails]]. Pour la communication SPI, il faut utiliser la [[ARDLib-SPI|librairie SPI]].
 
  −
The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the [[ARDLib-Wire|documentation for details]]. For SPI communication, use the [[ARDLib-SPI|SPI library]].
      
The Yún appears as a generic keyboard and mouse, and can be programmed to control these input devices using the [[ARDLib-Keyboard|Keyboard and Mouse]] classes.
 
The Yún appears as a generic keyboard and mouse, and can be programmed to control these input devices using the [[ARDLib-Keyboard|Keyboard and Mouse]] classes.
29 917

modifications

Menu de navigation