# XOD Programming Questions

**URL:** https://forum.xod.io/c/xoding/11.md

[Latest](https://forum.xod.io/latest.md) · [Categories](https://forum.xod.io/categories.md)

---

## [About the XOD Programming Questions category](https://forum.xod.io/t/about-the-xod-programming-questions-category/3823)

<div class="topic-metadata">

**Author:** [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Replies:** 0

</div>

How can I implement desired behavior with XOD nodes? Specific questions about C++ nodes go there too. XOD is uncommon and some things are tricky to achieve. Ask general xoding questions (unrelated to hardware), search f…

---

## [XOD flow control connecting Patches](https://forum.xod.io/t/xod-flow-control-connecting-patches/7171)

<div class="topic-metadata">

**Author:** [@lnorwood](https://forum.xod.io/u/lnorwood)\
**Replies:** 13\
**Last updated:** [August 3, 2025, 7:02pm UTC](https://forum.xod.io/t/xod-flow-control-connecting-patches/7171 "2025-08-03T19:02:31Z")

</div>

I am a newbee I have three patches that work fine separately. How do I call one then the other in the main. I do not understand how XOD flow control works. I tried to use the “Done” and input-pulse function to trigger th…

---

## [Why you dont have it?](https://forum.xod.io/t/why-you-dont-have-it/7172)

<div class="topic-metadata">

**Author:** [@kiruhaxod-pro2](https://forum.xod.io/u/kiruhaxod-pro2)\
**Replies:** 1\
**Last updated:** [July 27, 2025, 11:57pm UTC](https://forum.xod.io/t/why-you-dont-have-it/7172 "2025-07-27T23:57:47Z")

</div>

how can I connect UNO R3 to XOD?

---

## [Librsry loaded but get Specialization patch not found](https://forum.xod.io/t/librsry-loaded-but-get-specialization-patch-not-found/7170)

<div class="topic-metadata">

**Author:** [@lnorwood](https://forum.xod.io/u/lnorwood)\
**Replies:** 1\
**Last updated:** [July 25, 2025, 7:34pm UTC](https://forum.xod.io/t/librsry-loaded-but-get-specialization-patch-not-found/7170 "2025-07-25T19:34:55Z")

</div>

I am trying to use the bacic functions “Gate” and xod/core/pulse-on-change. I have the xod/core@0.37.3 loaded and I get the error Specialization patch not found Cannot find specialization gate(port) for abstract xod/co…

---

## [Library loaded but get Specialization patch not found](https://forum.xod.io/t/library-loaded-but-get-specialization-patch-not-found/7168)

<div class="topic-metadata">

**Author:** [@lnorwood](https://forum.xod.io/u/lnorwood)\
**Replies:** 4\
**Last updated:** [July 25, 2025, 5:28pm UTC](https://forum.xod.io/t/library-loaded-but-get-specialization-patch-not-found/7168 "2025-07-25T17:28:33Z")

</div>

I am trying to use the bacic functions “Gate” and xod/core/pulse-on-change. I have the xod/core@0.37.3 loaded and I get the error Specialization patch not found Cannot find specialization gate(port) for abstract xod/co…

---

## [Rotary encoder to control digital potentiometer](https://forum.xod.io/t/rotary-encoder-to-control-digital-potentiometer/7165)

<div class="topic-metadata">

**Author:** [@steveatvtk](https://forum.xod.io/u/steveatvtk)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 1:16pm UTC](https://forum.xod.io/t/rotary-encoder-to-control-digital-potentiometer/7165 "2025-07-18T13:16:49Z")

</div>

Hi, After many hours (days) without success with either ide or xod, I would just like a simple node/code to enable me to connect a rotary encoder to and arduino and output to a digital potentiometer in this case a MCP413…

---

## [Accumulate string - how do i add a value instead of byte](https://forum.xod.io/t/accumulate-string-how-do-i-add-a-value-instead-of-byte/7162)

<div class="topic-metadata">

**Author:** [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Replies:** 1\
**Last updated:** [July 7, 2025, 1:47pm UTC](https://forum.xod.io/t/accumulate-string-how-do-i-add-a-value-instead-of-byte/7162 "2025-07-07T13:47:27Z")

</div>

Hi, i’d like to push a number to a accumulate string node but it wants a character. How to i convert a number to a character? Format number makes a string and not a byte. Select node also won’t do.

---

## [Converting an Arduino sketch to XOD](https://forum.xod.io/t/converting-an-arduino-sketch-to-xod/7131)

<div class="topic-metadata">

**Author:** [@skippy2k](https://forum.xod.io/u/skippy2k)\
**Replies:** 1\
**Last updated:** [April 18, 2025, 10:02am UTC](https://forum.xod.io/t/converting-an-arduino-sketch-to-xod/7131 "2025-04-18T10:02:35Z")

</div>

Hi All, I am hoping someone will be able to help me, I have this sketch below that is really useful but don’t know enough of how to convert this to work in XOD. Is there anyone here that would be able to assist in maki…

---

## [Помощь в проекте](https://forum.xod.io/t/topic/7100)

<div class="topic-metadata">

**Author:** [@slipcheg82](https://forum.xod.io/u/slipcheg82)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 2:40am UTC](https://forum.xod.io/t/topic/7100 "2025-02-22T02:40:16Z")

</div>

Здравствуйте. Мне нужно составить программу для срабатывания реле при превышении скорости с постоянным мониторингом.Сигнал будет с датчика скорости 0 или 5 вольт. Грубо говоря измерить частоту сравнить и если превышает в…

---

## [4x7 segment and 4 x 74HC595](https://forum.xod.io/t/4x7-segment-and-4-x-74hc595/7091)

<div class="topic-metadata">

**Author:** [@krinke](https://forum.xod.io/u/krinke)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 2:30am UTC](https://forum.xod.io/t/4x7-segment-and-4-x-74hc595/7091 "2025-02-22T02:30:35Z")

</div>

I want to create a counter with Arduino 4 7 segment and 74HC595? Is there a library or help?

---

## [Problem with the PWM program](https://forum.xod.io/t/problem-with-the-pwm-program/7083)

<div class="topic-metadata">

**Author:** [@elmagnet](https://forum.xod.io/u/elmagnet)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 4:39pm UTC](https://forum.xod.io/t/problem-with-the-pwm-program/7083 "2025-02-14T16:39:45Z")

</div>

Need to run a PWM program on an “Outside” interrupt at a specific frequency? Can anyone help?

---

## [Visual Log / Event Ticker / Verbosity](https://forum.xod.io/t/visual-log-event-ticker-verbosity/7073)

<div class="topic-metadata">

**Author:** [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Replies:** 7\
**Last updated:** [February 13, 2025, 8:17pm UTC](https://forum.xod.io/t/visual-log-event-ticker-verbosity/7073 "2025-02-13T20:17:12Z")

</div>

I want to see a simple event log in real time at the bottom of the screen so I know what happened without saving to SD cards etc… I mean whats the point in exporting to PC and then Excel a graph when theoretically you ca…

---

## [Need Help with oled status display project](https://forum.xod.io/t/need-help-with-oled-status-display-project/7035)

<div class="topic-metadata">

**Author:** [@ningen13](https://forum.xod.io/u/ningen13)\
**Replies:** 9\
**Last updated:** [January 3, 2025, 8:12pm UTC](https://forum.xod.io/t/need-help-with-oled-status-display-project/7035 "2025-01-03T20:12:06Z")

</div>

hello evryone, i want make oled status?condition? display, if something turn on, its displayed on oled ssd1306, when turn off its not displayed on oled (or change of text) but its my first time programing arduino… wi…

---

## [Error during build: text section exceeds available space in board](https://forum.xod.io/t/error-during-build-text-section-exceeds-available-space-in-board/7028)

<div class="topic-metadata">

**Author:** [@gebeusk](https://forum.xod.io/u/gebeusk)\
**Replies:** 9\
**Last updated:** [December 24, 2024, 6:38am UTC](https://forum.xod.io/t/error-during-build-text-section-exceeds-available-space-in-board/7028 "2024-12-24T06:38:11Z")

</div>

Good day. I wrote a small sketch, LCD2004, displays temperature, atmospheric pressure, date, day of the week and time. When uploading to the board, it returns an error from the header. I read the tips on the forum, I did…

---

## [OLED Display Programming](https://forum.xod.io/t/oled-display-programming/7009)

<div class="topic-metadata">

**Author:** [@bgiorgio](https://forum.xod.io/u/bgiorgio)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 4:43pm UTC](https://forum.xod.io/t/oled-display-programming/7009 "2024-12-06T16:43:23Z")

</div>

Is there anybody that knows of any video tutorials on using XOD to integrate an OLED display? I have watched tutorials on OLEDs and they have just added to the confusion. Thank you in advance, I’m still learning this who…

---

## [SD card with ESP32](https://forum.xod.io/t/sd-card-with-esp32/6997)

<div class="topic-metadata">

**Author:** [@nazarijtipusak080](https://forum.xod.io/u/nazarijtipusak080)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 10:55am UTC](https://forum.xod.io/t/sd-card-with-esp32/6997 "2024-11-19T10:55:36Z")

</div>

I managed to get the SD card module working on ESP32! I created (based on another library peterfun/sd-card@1.0.6) a library that contains nodes for working with SD card on ESP32, and for example added nodes for working w…

---

## [Working with SD card in XOD ide](https://forum.xod.io/t/working-with-sd-card-in-xod-ide/6996)

<div class="topic-metadata">

**Author:** [@nazarijtipusak080](https://forum.xod.io/u/nazarijtipusak080)\
**Replies:** 0\
**Last updated:** [November 16, 2024, 7:40pm UTC](https://forum.xod.io/t/working-with-sd-card-in-xod-ide/6996 "2024-11-16T19:40:59Z")

</div>

I would like to thank Mr. @peterfun for completing the topic of reading recorded data from a micro SD card: peterfun/sd-card — XOD Since this topic will still raise questions, I decided to share the method of working wi…

---

## [Can bus library](https://forum.xod.io/t/can-bus-library/6957)

<div class="topic-metadata">

**Author:** [@siz85](https://forum.xod.io/u/siz85)\
**Replies:** 5\
**Last updated:** [October 2, 2024, 4:10am UTC](https://forum.xod.io/t/can-bus-library/6957 "2024-10-02T04:10:28Z")

</div>

Has anyone created a library for the mcp2515 can bus. Ineed to read a data value from a can Id

---

## [Running line for lcd](https://forum.xod.io/t/running-line-for-lcd/6953)

<div class="topic-metadata">

**Author:** [@ika2323](https://forum.xod.io/u/ika2323)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 2:04am UTC](https://forum.xod.io/t/running-line-for-lcd/6953 "2024-09-18T02:04:27Z")

</div>

Please help me, I need to make a running line on lcd. Looks like a metro

---

## [Problems with PWM when programming ESP32](https://forum.xod.io/t/problems-with-pwm-when-programming-esp32/6947)

<div class="topic-metadata">

**Author:** [@nazarijtipusak080](https://forum.xod.io/u/nazarijtipusak080)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 2:43pm UTC](https://forum.xod.io/t/problems-with-pwm-when-programming-esp32/6947 "2024-08-28T14:43:32Z")

</div>

Hello everyone! I see that only Mr. @wayland and Mr. @gweimer have been active lately. I managed to connect esp32 to xod. Tested the work with LCD and OLED displays, everything works. The buzzer also works. But there is …

---

## [Air Pressure Sensor with HX710B ADC chip](https://forum.xod.io/t/air-pressure-sensor-with-hx710b-adc-chip/6909)

<div class="topic-metadata">

**Author:** [@kadetsr](https://forum.xod.io/u/kadetsr)\
**Replies:** 6\
**Last updated:** [July 1, 2024, 4:40pm UTC](https://forum.xod.io/t/air-pressure-sensor-with-hx710b-adc-chip/6909 "2024-07-01T16:40:16Z")

</div>

I am familiar with XOD basic nodes, however I bought this Air pressure sensor module board 3.3-5V on amazon. This board has 4 pins (GND, SCK, OUT, VCC), and a pressure sensor connected to a HX710B ADC chip. So I would …

---

## [I need advice on Debugging Node for Temperature Sensor Project](https://forum.xod.io/t/i-need-advice-on-debugging-node-for-temperature-sensor-project/6894)

<div class="topic-metadata">

**Author:** [@mini90](https://forum.xod.io/u/mini90)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 6:06am UTC](https://forum.xod.io/t/i-need-advice-on-debugging-node-for-temperature-sensor-project/6894 "2024-07-01T06:06:16Z")

</div>

Hi guys! :smiling\_face\_with\_three\_hearts: I am working on a project where I need to interface a DS18B20 temperature sensor with an Arduino using XOD. I’ve followed a few tutorials and have managed to get some basic read…

---

## [Remove decimal Digits on display](https://forum.xod.io/t/remove-decimal-digits-on-display/6859)

<div class="topic-metadata">

**Author:** [@axy](https://forum.xod.io/u/axy)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 7:29pm UTC](https://forum.xod.io/t/remove-decimal-digits-on-display/6859 "2024-05-07T19:29:38Z")

</div>

Hello, I’m new Here and I’m really fascinated about this community. But can you help me please… Can anyone show me how to remove decimal digits from a LCD display? I only need “20” and not “20.00” shown. Thank you a…

---

## [Working node for mlx90614](https://forum.xod.io/t/working-node-for-mlx90614/6852)

<div class="topic-metadata">

**Author:** [@nico-ricoh](https://forum.xod.io/u/nico-ricoh)\
**Replies:** 5\
**Last updated:** [April 28, 2024, 9:16am UTC](https://forum.xod.io/t/working-node-for-mlx90614/6852 "2024-04-28T09:16:01Z")

</div>

How can Implement the DFRobot mlx90614 with my project in xod? I was using Wayland mlx90614 node library but when compiling and uploading I get errors: Begin compiling code for the board Arduino Uno :package: C:\\Users…

---

## [Optical encoder E38S6G5-600B-G24](https://forum.xod.io/t/optical-encoder-e38s6g5-600b-g24/6789)

<div class="topic-metadata">

**Author:** [@maksimbaturin](https://forum.xod.io/u/maksimbaturin)\
**Replies:** 5\
**Last updated:** [February 11, 2024, 6:40pm UTC](https://forum.xod.io/t/optical-encoder-e38s6g5-600b-g24/6789 "2024-02-11T18:40:14Z")

</div>

I am currently working on a new filament counter, but more accurate on the E38S6G5-600B-G24 optical encoder. I found that there is no interrupt handling in XOD. Digging through the library, I found amperka/pc-interrupt. …

---

## [Data Logging to Google Sheets](https://forum.xod.io/t/data-logging-to-google-sheets/6779)

<div class="topic-metadata">

**Author:** [@edselfiles](https://forum.xod.io/u/edselfiles)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 6:17am UTC](https://forum.xod.io/t/data-logging-to-google-sheets/6779 "2024-01-31T06:17:52Z")

</div>

Sending http request to google sheets seems to be not functioning. I am using nodemcu esp8266 and a dht22 temperature and humidity sensor. Is there a way to use XOD to send data to google sheets?

---

## [Upload error: "No device found on comX"](https://forum.xod.io/t/upload-error-no-device-found-on-comx/6757)

<div class="topic-metadata">

**Author:** [@jesketz](https://forum.xod.io/u/jesketz)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 6:08pm UTC](https://forum.xod.io/t/upload-error-no-device-found-on-comx/6757 "2024-01-15T18:08:18Z")

</div>

New to XOD and Arduino, just got my Uno Rev 4 WIFI board, can’t get anything to upload. I can upload just fine with Arduino IDE program, can also use “show code for Arduino” within XOD, copy and paste into IDE, then uplo…

---

## [Inverce kinematics for a "bird leg" "MechWarrior Leg"](https://forum.xod.io/t/inverce-kinematics-for-a-bird-leg-mechwarrior-leg/6762)

<div class="topic-metadata">

**Author:** [@mech-mechanic](https://forum.xod.io/u/mech-mechanic)\
**Replies:** 0\
**Last updated:** [January 12, 2024, 10:08pm UTC](https://forum.xod.io/t/inverce-kinematics-for-a-bird-leg-mechwarrior-leg/6762 "2024-01-12T22:08:59Z")

</div>

Hi… so im working on a bipedal robot project… and need to program inverce kinematics for a “Bird Leg”. Does any one have experience with this…? Can it be done in XOD…? Is there a “Library” that can help… ? Hope some …

---

## [What is the preferred way to print debugging information to the console from C++?](https://forum.xod.io/t/what-is-the-preferred-way-to-print-debugging-information-to-the-console-from-c/6733)

<div class="topic-metadata">

**Author:** [@bcrashkopf](https://forum.xod.io/u/bcrashkopf)\
**Replies:** 1\
**Last updated:** [December 16, 2023, 4:46am UTC](https://forum.xod.io/t/what-is-the-preferred-way-to-print-debugging-information-to-the-console-from-c/6733 "2023-12-16T04:46:33Z")

</div>

Right now I’m doing something like this: #ifdef DEBUG\_SERIAL XOD\_DEBUG\_SERIAL.println("Initializing Controller"); #endif I didn’t see any info on the intent of these macros in the docs. Seems like they ult…

---

## [UART: Cant receive text with delimiting character](https://forum.xod.io/t/uart-cant-receive-text-with-delimiting-character/6726)

<div class="topic-metadata">

**Author:** [@gamerse](https://forum.xod.io/u/gamerse)\
**Replies:** 6\
**Last updated:** [December 13, 2023, 7:54am UTC](https://forum.xod.io/t/uart-cant-receive-text-with-delimiting-character/6726 "2023-12-13T07:54:36Z")

</div>

Hello I am trying to send 9 different values ​​with , as delimiting character. But it will not separate the values. I have followed the guide from: Controlling LEDs via UART — Exchanging Text-based Data Between Two Bo…

[Next page](https://forum.xod.io/c/xoding/11.md?page=1)
