# XOD Programming Questions

**URL:** https://forum.xod.io/c/xoding/11.md?page=2

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

**Page:** 3

---

## [Delay on another clock?](https://forum.xod.io/t/delay-on-another-clock/6460)

<div class="topic-metadata">

**Author:** [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Replies:** 9\
**Last updated:** [February 8, 2023, 8:37pm UTC](https://forum.xod.io/t/delay-on-another-clock/6460 "2023-02-08T20:37:13Z")

</div>

I have Co2 meter that controls a temperature relay that i have on a short interval timer. And i have a window opener that i want to open for a few sec and then check again in 10 min. The easiest would have been to have…

---

## [What node is this green arrow?](https://forum.xod.io/t/what-node-is-this-green-arrow/6442)

<div class="topic-metadata">

**Author:** [@eli](https://forum.xod.io/u/eli)\
**Replies:** 1\
**Last updated:** [January 28, 2023, 7:56pm UTC](https://forum.xod.io/t/what-node-is-this-green-arrow/6442 "2023-01-28T19:56:19Z")

</div>

Should be simple answer… just been looking for a while! Seems this green arrow named “OLD” is allowing looping of data? Can’t find it in the XOD libraries, but it seems sweet if that is what it does. Thanks!

---

## [1ms square wave](https://forum.xod.io/t/1ms-square-wave/6434)

<div class="topic-metadata">

**Author:** [@rzouga](https://forum.xod.io/u/rzouga)\
**Replies:** 4\
**Last updated:** [January 18, 2023, 6:47pm UTC](https://forum.xod.io/t/1ms-square-wave/6434 "2023-01-18T18:47:38Z")

</div>

Hi, I am trying to build a square wave that has a 1 milli second period with a 5% duty cycle. Generating the 1ms wave is not a problem, the issue happens with the duty cycle as it seems the tool is unable to handle the…

---

## [8 Digit 7 segment display Max7219](https://forum.xod.io/t/8-digit-7-segment-display-max7219/6390)

<div class="topic-metadata">

**Author:** [@redtiger9001](https://forum.xod.io/u/redtiger9001)\
**Replies:** 1\
**Last updated:** [December 31, 2022, 3:24pm UTC](https://forum.xod.io/t/8-digit-7-segment-display-max7219/6390 "2022-12-31T15:24:19Z")

</div>

I only just started using XOD and was wondering if it was possible to use it with an 8 Digit 7 Segment Display Module Max7219. And if it is please let me know how, also is it possible to add libraries from your files tha…

---

## [Automatic Transmission Emulation](https://forum.xod.io/t/automatic-transmission-emulation/6359)

<div class="topic-metadata">

**Author:** [@patev](https://forum.xod.io/u/patev)\
**Replies:** 2\
**Last updated:** [December 27, 2022, 10:39am UTC](https://forum.xod.io/t/automatic-transmission-emulation/6359 "2022-12-27T10:39:52Z")

</div>

Hi all, based on two variables I’m trying to determine which gear I should be in on an automatic transmission. The ‘x axis’ is in kilometres per hour (0 - 160KPH) and the ‘y axis’ is throttle position (i.e. between 0=clo…

---

## [How to copy the code for arduino](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381)

<div class="topic-metadata">

**Author:** [@willcolson](https://forum.xod.io/u/willcolson)\
**Replies:** 1\
**Last updated:** [December 20, 2022, 1:47am UTC](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381 "2022-12-20T01:47:47Z")

</div>

So, the problem is that I don’t know why the number of lines for the simplest code is more than 2000. I’ve planned a simple sketch for one led with one node, then I’d like to copy the code and paste it to Tinkercad in or…

---

## [RGB color change](https://forum.xod.io/t/rgb-color-change/6355)

<div class="topic-metadata">

**Author:** [@claudiavallejo398](https://forum.xod.io/u/claudiavallejo398)\
**Replies:** 4\
**Last updated:** [December 2, 2022, 6:23pm UTC](https://forum.xod.io/t/rgb-color-change/6355 "2022-12-02T18:23:57Z")

</div>

Hello! does anyone know how to make a RGB work with 1 single color but different intensities or patterns? I am trying to make an effect of continuous intensity increase, but i cannot find any XOD box that allows me to …

---

## [Pressure sensor and traffic light](https://forum.xod.io/t/pressure-sensor-and-traffic-light/6353)

<div class="topic-metadata">

**Author:** [@claudiavallejo398](https://forum.xod.io/u/claudiavallejo398)\
**Replies:** 2\
**Last updated:** [November 30, 2022, 6:49pm UTC](https://forum.xod.io/t/pressure-sensor-and-traffic-light/6353 "2022-11-30T18:49:50Z")

</div>

Good afternoon, I am trying to program a traffic light connected to a pressure sensor. My idea is that, when I press the sensor 1 time, green light turns on; when I press it 2 times, yellow light turns on, and finally, …

---

## [How do I make an interval between switching on?](https://forum.xod.io/t/how-do-i-make-an-interval-between-switching-on/6334)

<div class="topic-metadata">

**Author:** [@skayrim2603](https://forum.xod.io/u/skayrim2603)\
**Replies:** 1\
**Last updated:** [November 19, 2022, 11:04pm UTC](https://forum.xod.io/t/how-do-i-make-an-interval-between-switching-on/6334 "2022-11-19T23:04:29Z")

</div>

Hello everyone, I’m making an electric boiler control unit. Such a question. How to implement such a thing in XOD, let’s say I need the electric boiler to turn on to a set temperature, then wait until the temperature dro…

---

## [Lightsaber Audio](https://forum.xod.io/t/lightsaber-audio/6325)

<div class="topic-metadata">

**Author:** [@skele](https://forum.xod.io/u/skele)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 4:04am UTC](https://forum.xod.io/t/lightsaber-audio/6325 "2022-11-15T04:04:52Z")

</div>

I’m currently building a lightsaber, and I have an accelerometer, arduino, soundboard, and speaker, but I can’t figure out how to play sound effects in xod. Currently, I am planning to make it so if the velocity is above…

---

## [Incorrect reading of ds18b20](https://forum.xod.io/t/incorrect-reading-of-ds18b20/6302)

<div class="topic-metadata">

**Author:** [@metagospek](https://forum.xod.io/u/metagospek)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 6:54am UTC](https://forum.xod.io/t/incorrect-reading-of-ds18b20/6302 "2022-11-06T06:54:34Z")

</div>

Uploading: image.png… ds18b20 is connected correctly. The “ds18b20-thermometer” reads the temperature correctly as well. “get-address” reads the address correctly. Everything works fine on the Ardunio IDE. Reads the add…

---

## [BLDC Motor, PWM, Circout](https://forum.xod.io/t/bldc-motor-pwm-circout/6290)

<div class="topic-metadata">

**Author:** [@aarzeon](https://forum.xod.io/u/aarzeon)\
**Replies:** 3\
**Last updated:** [October 17, 2022, 3:17pm UTC](https://forum.xod.io/t/bldc-motor-pwm-circout/6290 "2022-10-17T15:17:05Z")

</div>

Hi together, I got a project with 3 BLDC Motors. Unfortunately my Code is not working and I’m unsure where the problem is. I’m guessing that the PWM is the problem because in the Datasheet it says it recommends 20kHz P…

---

## [EEPROM R/W for Arduino nanao](https://forum.xod.io/t/eeprom-r-w-for-arduino-nanao/6270)

<div class="topic-metadata">

**Author:** [@basement123](https://forum.xod.io/u/basement123)\
**Replies:** 1\
**Last updated:** [October 6, 2022, 7:22am UTC](https://forum.xod.io/t/eeprom-r-w-for-arduino-nanao/6270 "2022-10-06T07:22:38Z")

</div>

gst/eeprom-read-write-uint16bit example returns a compiler error: “# include \<EEPROM.h\>”. How is that library added through XOD?

---

## [Cloud-store stops updating feed after a while](https://forum.xod.io/t/cloud-store-stops-updating-feed-after-a-while/6262)

<div class="topic-metadata">

**Author:** [@calleg](https://forum.xod.io/u/calleg)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 5:57pm UTC](https://forum.xod.io/t/cloud-store-stops-updating-feed-after-a-while/6262 "2022-09-29T17:57:14Z")

</div>

Hello! I have a program on a Node MCU v3 (esp8266-mcu) that with a concat-node creates a json for a XOD-cloud feed every 120 second. See picture below. It works greate for a day or so but then it stops updating. The n…

---

## [Ivanmason/accelstepper example-multistepper questions](https://forum.xod.io/t/ivanmason-accelstepper-example-multistepper-questions/6269)

<div class="topic-metadata">

**Author:** [@louisandy](https://forum.xod.io/u/louisandy)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 5:07am UTC](https://forum.xod.io/t/ivanmason-accelstepper-example-multistepper-questions/6269 "2022-09-19T05:07:49Z")

</div>

Hi hoping anyone can shed some light on this library and this example First do all of these nodes work correctly in the library there isn’t any know bugs i should no about? people have built up successful muilt stepper …

---

## [How to use ttp223 sensor touch module](https://forum.xod.io/t/how-to-use-ttp223-sensor-touch-module/6244)

<div class="topic-metadata">

**Author:** [@oxiderast](https://forum.xod.io/u/oxiderast)\
**Replies:** 3\
**Last updated:** [September 7, 2022, 2:37am UTC](https://forum.xod.io/t/how-to-use-ttp223-sensor-touch-module/6244 "2022-09-07T02:37:46Z")

</div>

I tried to connect ttp223 just as a button, but the code just does not see it What is the correct way to connect touch modules in XOD? Tried changing the level and true\\false when pressed, nothing changes, the button wo…

---

## [Non carica le schede](https://forum.xod.io/t/non-carica-le-schede/6252)

<div class="topic-metadata">

**Author:** [@fiorenzo](https://forum.xod.io/u/fiorenzo)\
**Replies:** 0\
**Last updated:** [September 5, 2022, 5:58am UTC](https://forum.xod.io/t/non-carica-le-schede/6252 "2022-09-05T05:58:32Z")

</div>

Usando mac non mi carica le schede

---

## [Stepper motor+arduino nano](https://forum.xod.io/t/stepper-motor-arduino-nano/6234)

<div class="topic-metadata">

**Author:** [@the19thbear](https://forum.xod.io/u/the19thbear)\
**Replies:** 3\
**Last updated:** [September 1, 2022, 5:34am UTC](https://forum.xod.io/t/stepper-motor-arduino-nano/6234 "2022-09-01T05:34:24Z")

</div>

Hi. Been away from xod for a while, but found a project that I think will fit it nicely. I have an arduino nano. I would like to control a stepper motor (the speed of the stepper motor), via a pot. I also need to be ab…

---

## [Nextion HMI + Arduino = 4 second delay](https://forum.xod.io/t/nextion-hmi-arduino-4-second-delay/6219)

<div class="topic-metadata">

**Author:** [@mlaurin](https://forum.xod.io/u/mlaurin)\
**Replies:** 2\
**Last updated:** [August 22, 2022, 11:23am UTC](https://forum.xod.io/t/nextion-hmi-arduino-4-second-delay/6219 "2022-08-22T11:23:35Z")

</div>

I build a machine to be able to transfer material and stop when the correct weight is same as the one set on the HMI. Also some safety feature should stop the fan if you open the door ! BUT i have 4 second delay before t…

---

## [Bitrex Menu system unable to compile](https://forum.xod.io/t/bitrex-menu-system-unable-to-compile/6212)

<div class="topic-metadata">

**Author:** [@glassboxkeeper](https://forum.xod.io/u/glassboxkeeper)\
**Replies:** 5\
**Last updated:** [August 18, 2022, 4:28am UTC](https://forum.xod.io/t/bitrex-menu-system-unable-to-compile/6212 "2022-08-18T04:28:43Z")

</div>

Been trying to use the menu system by @bitrex (v1.1) but have been unable to get it to upload to the arduino. I’m using an elegoo uno r3 and 20x4 LCD with i2c interface Full log in attached .txt XOD bitrex menu log.tx…

---

## [Ivanmason/lcd16x2x5button/updowncount Cant get to work :(](https://forum.xod.io/t/ivanmason-lcd16x2x5button-updowncount-cant-get-to-work/6217)

<div class="topic-metadata">

**Author:** [@louisandy](https://forum.xod.io/u/louisandy)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 6:28am UTC](https://forum.xod.io/t/ivanmason-lcd16x2x5button-updowncount-cant-get-to-work/6217 "2022-08-16T06:28:54Z")

</div>

Hey This should be something very simple but its driving me a little mad this node as you can see is a simple up down counter https://xod.io/libs/ivanmason/lcd16x2x5button/updowncount/ It all works apart from the COUN…

---

## [I can make a sub that stops a count](https://forum.xod.io/t/i-can-make-a-sub-that-stops-a-count/6216)

<div class="topic-metadata">

**Author:** [@rwlee-lv](https://forum.xod.io/u/rwlee-lv)\
**Replies:** 5\
**Last updated:** [August 16, 2022, 2:57am UTC](https://forum.xod.io/t/i-can-make-a-sub-that-stops-a-count/6216 "2022-08-16T02:57:00Z")

</div>

I can do this with C in Arduino IDE I’m trying to find a way to stop a counter when the number reaches a certain number!

---

## [Esp32 UART xod node not working](https://forum.xod.io/t/esp32-uart-xod-node-not-working/6197)

<div class="topic-metadata">

**Author:** [@maxifrit](https://forum.xod.io/u/maxifrit)\
**Replies:** 1\
**Last updated:** [August 10, 2022, 1:31pm UTC](https://forum.xod.io/t/esp32-uart-xod-node-not-working/6197 "2022-08-10T13:31:44Z")

</div>

Is posible than somone wiling help me with delivering node than goona work with esp32. Uart from xod not working end my skills are to small to fix it on my one. Im realy on death point in my project becaus of it. I wili…

---

## [thermostat WASHERS](https://forum.xod.io/t/thermostat-washers/6209)

<div class="topic-metadata">

**Author:** [@trocmarcin93](https://forum.xod.io/u/trocmarcin93)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 10:14pm UTC](https://forum.xod.io/t/thermostat-washers/6209 "2022-08-08T22:14:00Z")

</div>

Hello. I need a program to control the heater in the washer. The program is to work on the principle of reaching the temperature of 60 degrees, to turn off the heater relay, reading the temperature from the ds18b20 senso…

---

## [How to implement double click, triple click and so on ](https://forum.xod.io/t/how-to-implement-double-click-triple-click-and-so-on/6202)

<div class="topic-metadata">

**Author:** [@oxiderast](https://forum.xod.io/u/oxiderast)\
**Replies:** 2\
**Last updated:** [August 7, 2022, 9:21pm UTC](https://forum.xod.io/t/how-to-implement-double-click-triple-click-and-so-on/6202 "2022-08-07T21:21:26Z")

</div>

Hi all I’m not really new to arduino, but new to node zyrocoding, I tried to get a double click using delays, combo counters but it was some kind of complicated circuit, no good, and it did not work properly Please hel…

---

## [Button with delay function](https://forum.xod.io/t/button-with-delay-function/6192)

<div class="topic-metadata">

**Author:** [@yura717](https://forum.xod.io/u/yura717)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 5:40pm UTC](https://forum.xod.io/t/button-with-delay-function/6192 "2022-08-01T17:40:09Z")

</div>

Hello, I wonder how I can make button → delay 7 sec → LED ? I tried delay function and timer I cannot make any delay. The program should work in this way: I press the button and after 7 seconds LED / pin D13/ will go …

---

## [LED bar sequence. need help to shorten it](https://forum.xod.io/t/led-bar-sequence-need-help-to-shorten-it/6181)

<div class="topic-metadata">

**Author:** [@newtcdr](https://forum.xod.io/u/newtcdr)\
**Replies:** 1\
**Last updated:** [July 22, 2022, 2:13am UTC](https://forum.xod.io/t/led-bar-sequence-need-help-to-shorten-it/6181 "2022-07-22T02:13:16Z")

</div>

it just a simple 10led array running light sequence in a loop. This already working like what i wanted it to do but is there a way to shorten this ?

---

## [Keep value when jumping to next value?](https://forum.xod.io/t/keep-value-when-jumping-to-next-value/6173)

<div class="topic-metadata">

**Author:** [@jacob-wiqvist](https://forum.xod.io/u/jacob-wiqvist)\
**Replies:** 3\
**Last updated:** [July 16, 2022, 12:00pm UTC](https://forum.xod.io/t/keep-value-when-jumping-to-next-value/6173 "2022-07-16T12:00:11Z")

</div>

It’s very difficult to explain what I want. I want to use MAP node to set min and max values to dimmer channel. I want when I jump between the values, Smin, Smax, Tmin and Tmax to be “kept”, saved, so that when I jump …

---

## [Using steppers for turntable](https://forum.xod.io/t/using-steppers-for-turntable/6175)

<div class="topic-metadata">

**Author:** [@fsbl490z60](https://forum.xod.io/u/fsbl490z60)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 5:50pm UTC](https://forum.xod.io/t/using-steppers-for-turntable/6175 "2022-07-12T17:50:08Z")

</div>

Im looking for programming a turntable whith 4 positions even when i startup go to a basic stand and 3 stands turn left or right . this in reminder of the diffrent positions . I was thinking on a counter to diffind the p…

---

## [Thermostat store and load set values](https://forum.xod.io/t/thermostat-store-and-load-set-values/6166)

<div class="topic-metadata">

**Author:** [@kunjumon](https://forum.xod.io/u/kunjumon)\
**Replies:** 2\
**Last updated:** [July 12, 2022, 10:50am UTC](https://forum.xod.io/t/thermostat-store-and-load-set-values/6166 "2022-07-12T10:50:37Z")

</div>

Hi, I just started to learn XOD. I am building a thermostat. My doubts are 1 - How i store the set values ? and load after power failure or reboot. 2 - I only want to activate set value when i press rotary encoder push…

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

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