Go Down

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



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.



"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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up