mirror of
https://github.com/xodio/xod.git
synced 2026-03-04 16:04:03 +01:00
1.5 KiB
1.5 KiB
title
| title |
|---|
| Constant Nodes |
#08. Constant Nodes
Note
This is a web-version of a tutorial chapter embedded right into the XOD IDE.
To get a better learning experience we recommend to install the
desktop IDE or start the
browser-based IDE, and you’ll see the same tutorial there.
You can specify pin values manually with the Inspector. However, the data can be transferred from the output pin of one node to the input pin of another node. This is the core idea of XOD programming.
The simplest source of output values is a constant node. Its output value never changes during the program execution. Although, while programming you can set its value as usual, with the Inspector.
Test circuit
Note
The circuit is the same as for the previous lesson.
↓ Download as a Fritzing project
How-to
- Find the
constant-numbernode underxod/coreand add it to the patch. - Connect its
VALoutput pin with an input of another node. To do this, simply click on theVALpin and then on the destination pin. You will then see a green line connecting the two pins. This line is called a link. - Set a desired constant value via Inspector.


