USB serial initialisation not compiling

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

USB serial initialisation not compiling

Post 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
Attachments
Error1.png
(49.44 KiB) Downloaded 1465 times
USB test1.fcfx
(9.8 KiB) Downloaded 205 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: USB serial initialisation not compiling

Post 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).
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: USB serial initialisation not compiling

Post by Benj »

Yes Kersing is right, you need to use the UART component rather than the USB Serial component on the Arduino Uno board.

Post Reply