Unable to print serial output on Arduino Leonardo #313
-
I am hitting an error when trying to print serial output using an adruino leonardo connected to a WIndows 10 PC.
I tested with Adruino IDE and it works fine there so it is noting with the USB Connection/Hardware. config.toml:
.Full console output:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, this is to be expected because the Arduino Leonardo, unlike the Uno, does not have a dedicated USART-to-USB converter chip. This means you'll need an external USB-Serial converter, connected to pins D0 and D1. You're probably wondering how the official Arduino software gets around that: What they're doing is implementing a USB-Serial peripheral directly on the ATmega32U4 chip on your Leonardo. We plan to do the same in |
Beta Was this translation helpful? Give feedback.
-
Okay thanks so much for the help. |
Beta Was this translation helpful? Give feedback.
Hi,
this is to be expected because the Arduino Leonardo, unlike the Uno, does not have a dedicated USART-to-USB converter chip. This means you'll need an external USB-Serial converter, connected to pins D0 and D1.
You're probably wondering how the official Arduino software gets around that: What they're doing is implementing a USB-Serial peripheral directly on the ATmega32U4 chip on your Leonardo. We plan to do the same in
avr-hal
at some point, but this is not yet done (see issue #40).