Page 1 of 1

USB serial initialisation not compiling

Posted: Wed Aug 16, 2017 3:43 pm
by Chris_MIRA
Hi,
Im trying to use the USB serial coms macro to communicate between the arduino UNO and a Rasberry Pi

The test programme is very simple, just flashing an LED. Without the usb serial initialise macro, programme compiles to chip and works, but as soon as I add the usb serial initialise macro, the system will not compile to hex and displays the attached error message. Am I doing something wrong?

Regards,
Chris

Re: USB serial initialisation not compiling

Posted: Wed Aug 16, 2017 11:03 pm
by kersing
Last time I checked the controller of the uno did not support USB. The USB serial on the uno is a separate chip which is connected to RX/TX of the controller (atmega328p).

Re: USB serial initialisation not compiling

Posted: Thu Aug 17, 2017 12:12 pm
by Benj
Yes Kersing is right, you need to use the UART component rather than the USB Serial component on the Arduino Uno board.