# UART-Replicate problems

**URL:** <https://forum.xod.io/t/uart-replicate-problems/4047>\
**Category:** Install/Upload Problems\
**Created:** [May 31, 2020, 8:08pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047 "2020-05-31T20:08:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcabral](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@gcabral](https://forum.xod.io/u/gcabral)\
**Post date:** [May 31, 2020, 8:08pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047/1 "2020-05-31T20:08:22Z")

</div>

Hi there,

I am an authentic rookie. I know!  
I don’t know how to program ++ C.  
I really like XOD because it has the potential available to make it much easier for enthusiasts like me who are not in this area.

I try to follow the examples and tutorials I find to understand and apply XOD.

Today I tried to follow the example of serial communication between 2 Arduinos:  
[https://xod.io/docs/guide/uart-led-control/](https://xod.io/docs/guide/uart-led-control/)

However I have encountered difficulties such as this error that I do not understand. I followed all the steps. Mute plate and the result is the same …

According to what I understand there is a problem with a library

C: \ Users \ gcabr \ Documents \ XOD \ \_\_ packages \_\_ \ packages \ arduino \ hardware \ avr \ 1.8.1 \ libraries \ SoftwareSerial

I am trying to communicate with 2 Arduino Uno boards

Can anyone give a brief explanation of how to proceed and identify / eliminate these types of problems?

 ![UART](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/c/c9ccac2182e3e996303b8ed908b763b06e876cc7.png)

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [May 31, 2020, 11:19pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047/2 "2020-05-31T23:19:51Z")

</div>

You need to scroll back to see what the first error is in the output to determine what is wrong.

---

<div class="post-metadata">

**Author:** ![talyanninza](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/talyanninza/32/2483_2.png) [@talyanninza](https://forum.xod.io/u/talyanninza)\
**Post date:** [June 12, 2020, 7:18pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047/3 "2020-06-12T19:18:38Z")

</div>

Hi there. I got the same problem. The list of issues is below. So it seems the “parse-tabular  
gabbapeople/uart-led-control/parse-tabular” has some problems.  
Splits the incoming string line into parts depending on delimiter character. Outputs the specified part of string line

“C:\Users\sergey.salenko\xod\ **packages** \packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF\_CPU=16000000L -DARDUINO=10607 -DARDUINO\_AVR\_LEONARDO -DARDUINO\_ARCH\_AVR -DUSB\_VID=0x2341 -DUSB\_PID=0x8036 “-DUSB\_MANUFACTURER=“Unknown”” “-DUSB\_PRODUCT=“Arduino Leonardo”” “-IC:\Users\sergey.salenko\xod\ **packages** \packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\sergey.salenko\xod\ **packages** \packages\arduino\hardware\avr\1.8.2\variants\leonardo” “-IC:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\libraries\LiquidCrystal\src” “-IC:\Users\sergey.salenko\xod\ **packages** \packages\arduino\hardware\avr\1.8.2\libraries\SoftwareSerial\src” “C:\Users\SERGEY~1.SAL\AppData\Local\Temp\arduino-sketch-31AAEA4A16F46DA43B7143027E591672\sketch\xod\_1591989068867\_sketch.ino.cpp” -o “C:\Users\SERGEY~1.SAL\AppData\Local\Temp\arduino-sketch-31AAEA4A16F46DA43B7143027E591672\sketch\xod\_1591989068867\_sketch.ino.cpp.o”

C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino: In function ‘void xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::evaluate(xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::Context)’:  
C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2432:15: error: ‘output\_PRT’ was not declared in this scope  
emitValue\<output\_PRT\>(ctx,XString(&state-\>view));  
^ ~~~~~~~~~

C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2432:15: note: suggested alternative: ‘output\_OUT’  
emitValue\<output\_PRT\>(ctx,XString(&state-\>view));  
^ ~~~~~~~~~  
output\_OUT  
C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2432:52: error: no matching function for call to ‘emitValue\< \>(xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::ContextObject\*&, xod::XString)’  
emitValue\<output\_PRT\>(ctx,XString(&state-\>view));  
^  
C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2411:33: note: candidate: template void xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::emitValue(xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::Context, typename xod::gabbapeople\_\_uart\_led\_control\_\_parse\_tabular::ValueType::T)  
template void emitValue(Context ctx, typename ValueType::T val) {  
^ ~~~~~~~~  
C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2411:33: note: template argument deduction/substitution failed:

C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\xod\_1591989068867\_sketch\xod\_1591989068867\_sketch.ino:2432:52: error: template argument 1 is invalid  
emitValue\<output\_PRT\>(ctx,XString(&state-\>view));  
^

Multiple libraries were found for “SoftwareSerial.h”  
Used: C:\Users\sergey.salenko\xod\__packages_\_\packages\arduino\hardware\avr\1.8.2\libraries\SoftwareSerial  
Multiple libraries were found for “LiquidCrystal.h”  
Used: C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\libraries\LiquidCrystal

Using library LiquidCrystal at version 1.0.4 in folder: C:\Users\SERGEY~1.SAL\AppData\Local\Temp\xod\_temp\_sketchbookZiRuHp\libraries\LiquidCrystal  
Using library SoftwareSerial at version 1.0 in folder: C:\Users\sergey.salenko\xod\__packages_\_\packages\arduino\hardware\avr\1.8.2\libraries\SoftwareSerial

Error: exit status 1  
Compilation failed.  
Compilation failed  
Command Process exited with code 1  
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [June 12, 2020, 8:12pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047/4 "2020-06-12T20:12:45Z")

</div>

There is a problem with the parse-tabular node. The name of the output in code (output\_PRT) doesn’t match the name of the output pin (OUT). Easily fixed by changing the name of the output pin from OUT to PRT.

---

<div class="post-metadata">

**Author:** ![talyanninza](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/talyanninza/32/2483_2.png) [@talyanninza](https://forum.xod.io/u/talyanninza)\
**Post date:** [June 13, 2020, 5:03pm UTC](https://forum.xod.io/t/uart-replicate-problems/4047/5 "2020-06-13T17:03:12Z")

</div>

Great!!! Thanks a lot!!! It works now. You are my hero now, Dear Wayland!

---

<div class="post-metadata">

**Author:** ![gabbapeople](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/gabbapeople/32/1517_2.png) [@gabbapeople](https://forum.xod.io/u/gabbapeople)\
**Post date:** [June 17, 2020, 8:02am UTC](https://forum.xod.io/t/uart-replicate-problems/4047/6 "2020-06-17T08:02:00Z")

</div>

@wayland, @talyanninza  
Thx for pointing out the error. I fixed it and updated the library.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [July 17, 2020, 8:02am UTC](https://forum.xod.io/t/uart-replicate-problems/4047/7 "2020-07-17T08:02:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
