By using multiple independent pulse signals, we can create complex programs to control our devices. Here, we use two clock nodes to rotate the servo in one direction and then the other.
The patch for this chapter is little bigger than what we’ve seen so far. A good rule of thumb in XOD is to read the patch from the bottom up. That way you can see the cause and effect relationship created by the flow of the patch. First, you see the result and then what caused it!
Pay close attention to the
map node. Instead of using it in the standard
manner, we are simply using it to flip the sign of the output value.
The servo should tick in one direction for 30 seconds and then in the other direction for 30 seconds.