# UART in esp32 dont work

**URL:** <https://forum.xod.io/t/uart-in-esp32-dont-work/6161>\
**Category:** Uncategorized\
**Created:** [July 4, 2022, 11:38am UTC](https://forum.xod.io/t/uart-in-esp32-dont-work/6161 "2022-07-04T11:38:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxifrit](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@maxifrit](https://forum.xod.io/u/maxifrit)\
**Post date:** [July 4, 2022, 11:38am UTC](https://forum.xod.io/t/uart-in-esp32-dont-work/6161/1 "2022-07-04T11:38:36Z")

</div>

HI can somebody help me?  
I tray use UART with esp32 but nothing work ;(  
I get error.  
the gool is conect esp32 with grove LoRa Radio 868mhz that use uart interface to exhange data between esp32.

Error:  
Begin compiling code for the board DOIT ESP32 DEVKIT V1 📦

C:\Users\Ryszard\AppData\Local\Temp\xod\_temp\_sketchbookdTodmO\xod\_1656934278970\_sketch\xod\_1656934278970\_sketch.ino: In member function ‘void xod::xod\_\_uart\_\_uart::Node::evaluate(xod::xod\_\_uart\_\_uart::Node::Context)’:  
C:\Users\Ryszard\AppData\Local\Temp\xod\_temp\_sketchbookdTodmO\xod\_1656934278970\_sketch\xod\_1656934278970\_sketch.ino:1095:27: error: ‘SERIAL\_PORT\_HARDWARE’ was not declared in this scope  
auto serial = SERIAL\_PORT\_HARDWARE;  
^ ~~~~~~~~~~~~~~~~~~~

C:\Users\Ryszard\AppData\Local\Temp\xod\_temp\_sketchbookdTodmO\xod\_1656934278970\_sketch\xod\_1656934278970\_sketch.ino: In member function ‘void xod::xod\_\_core\_\_console\_log::Node::evaluate(xod::xod\_\_core\_\_console\_log::Node::Context)’:  
C:\Users\Ryszard\AppData\Local\Temp\xod\_temp\_sketchbookdTodmO\xod\_1656934278970\_sketch\xod\_1656934278970\_sketch.ino:2393:28: warning: ‘xod::List\* xod::List::operator-\>() [with T = char]’ is deprecated [-Wdeprecated-declarations]  
for (auto it = line-\>iterate(); it; ++it)  
^~  
C:\Users\Ryszard\AppData\Local\Temp\xod\_temp\_sketchbookdTodmO\xod\_1656934278970\_sketch\xod\_1656934278970\_sketch.ino:248:11: note: declared here  
List\* operator-\>() **attribute** ((deprecated)) { return this; }  
^ ~~~~~~~

Error during build: exit status 1  
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:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [August 3, 2022, 11:39am UTC](https://forum.xod.io/t/uart-in-esp32-dont-work/6161/2 "2022-08-03T11:39:31Z")

</div>

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