Set Value Node
Set value node is used to store data inside a memory location, eg. variables, array elements and more.
Set value flow
Here, we have taken a set value node and assigned a value 5 and to display we have used a display node.
-
We can also store data received from a node.
-
We can use the set value node to store the data and to pass it to another node in it's properties as input as well we can use set value node to change value received from a node.
-
We can assign set value node different data type such as const, variable as well expression and we can also assign array and LHS as well RHS.
Here in the above flow, we have made two variables, high=1 and low and using analog write node we have set pin level of pin 2 where the pin level of first node is variable high which has value one and afterr 0.5seconds delay there's another analog read node which sets pin level 0 there we have pass variable low as input to pin level.