Modifications

Sauter à la navigation Sauter à la recherche
781 octets ajoutés ,  12 novembre 2014 à 07:34
Ligne 32 : Ligne 32 :  
This feature is only available on the following pins: '''A0, A1, A4, A5, A6, A7, D0''' et '''D1'''.
 
This feature is only available on the following pins: '''A0, A1, A4, A5, A6, A7, D0''' et '''D1'''.
    +
== Ports séries (UART) ==
 +
 +
The Core features three serial ports. The first one is a CDC (Communications Device Class) available over the USB port. When configured, it will show up as a virtual COM port on the computer. (usage: Serial.begin(9600);)
 +
 +
The second one is a hardware USART available via the TX and RX pins on the Core. (usage: Serial1.begin(9600);)
 +
 +
The third one is a hardware USART available via the D1(Tx) and D0(Rx) pins on the Core. (usage: Serial2.begin(9600);)
 +
 +
Configuration and use of all of these serial ports is described in the serial functions.
 +
 +
NOTE: Please take into account that the voltage levels on these pins runs at 0V to 3.3V and should not be connected directly to a computer's RS232 serial port which operates at +/- 12V and can damage the Core.
    
{{Spark-Core-Materiel-TRAILER}}
 
{{Spark-Core-Materiel-TRAILER}}
29 918

modifications

Menu de navigation