title
| title |
|---|
| Pins, data, and the Inspector |
#03. Pins, data, and the Inspector
A node is a visual representation of some physical device (such as the ports on an Arduino) or some function (adding, subtracting and more complicated stuff).
The led is a simple LED controlling node. It can control only a one-colored
LED. The node has input pins PORT and LUM along with a few other pins you
can ignore for now.
Pins
The small colored circles on nodes are called pins. Pins are divided into inputs and outputs. Inputs are always on the top side of nodes, outputs — on the bottom.
Pins are used to transfer data between nodes. Nodes process these values and
take some action or give a result. In this example, the led node transfers
the led brightnes value (set in LUM) to the Arduino port (set in PORT).
You can change values of pins with a sidebar called Inspector. You will see the Inspector on the left under the list of projects.
Test circuit
↓ Download as a Fritzing project
How-to
- Click on a node for which you want to change pin values. In our example, the
lednode. It will make the node selected. - In the Inspector, change the values you desire.
- Upload the patch again to apply the changes.


