Go Down

Topic: Ports on Arduino Leonardo (Read 449 times) previous topic - next topic

Shab

Hello,

I'm new to the Arduino world. Currently, I'm using an Arduino leonardo and I'm going to use serial communication. I know the serial communication is done by digital pins 1 and and 0 (TX and RX respectively), but I could not find which ports are activated in the reference sheets for leonardo. Could someone guide me as to where I would find the ports that are activated when I do serial communication. Any help would be appreciated.

johnwasser

http://arduino.cc/en/Guide/ArduinoLeonardo

"Separation of USB and serial communication.
On the Leonardo, the main Serial class refers to the virtual serial driver on the Leonardo for connection to your computer over USB. It's not connected to the physical pins 0 and 1 as it is on the Uno and earlier boards. To use the hardware serial port (pins 0 and 1, RX and TX), use Serial1. (See the Serial reference pages for more information.)"
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy