# Sending data to the Arduino IDE console under normal operation

**URL:** <https://forum.xod.io/t/sending-data-to-the-arduino-ide-console-under-normal-operation/240>\
**Category:** Uncategorized\
**Created:** [December 11, 2017, 1:21am UTC](https://forum.xod.io/t/sending-data-to-the-arduino-ide-console-under-normal-operation/240 "2017-12-11T01:21:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitrex](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bitrex](https://forum.xod.io/u/bitrex)\
**Post date:** [December 11, 2017, 1:21am UTC](https://forum.xod.io/t/sending-data-to-the-arduino-ide-console-under-normal-operation/240/1 "2017-12-11T01:21:36Z")

</div>

So I’m trying to get numerical data sent to the Arduino IDE serial monitor while my program is running to keep a running log of a few variable values for debugging purposes. Unfortunately I can’t seem to get any output; if I uncomment “XOD\_DEBUG” and “XOD\_DEBUG\_ENABLE\_TRACE” in the generated code, setting my terminal to 115200 baud, I see the transactions being executed appropriately so I know the patch and serial link is working OK. Here’s how I have my patch set up, which seems to be incorrect (Enable input into the clock is set to “TRUE”):

 ![Screenshot_2017-12-10_20-12-02](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/bb11861d65c6ab570ec49b662335b24e853a02f9.png)

I’d like to be able to just get a string output to the serial monitor once per second for testing and that’s what I’m going for here, but no luck. If anyone could post a working example of a patch that does this I’d appreciate it, thanks!

Board is an Arduino Uno variant (Sparkfun Redboard.)

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [December 11, 2017, 11:06am UTC](https://forum.xod.io/t/sending-data-to-the-arduino-ide-console-under-normal-operation/240/2 "2017-12-11T11:06:41Z")

</div>

Hello!

`console-log` is a debug facility. It acts only if you check “Debug after upload” checkbox in the upload dialog. So enable it and you will see your values in a serial monitor.

BTW, you can use `xod/core/watch` instead of (or along with) the `console-log` to monitor the values right within XOD IDE.

---

<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:** [December 13, 2017, 11:06am UTC](https://forum.xod.io/t/sending-data-to-the-arduino-ide-console-under-normal-operation/240/3 "2017-12-13T11:06:43Z")

</div>

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