Chapter 4
Configuration, compilation and execution

The process of creating the control algorithm will be demonstrated on a very simple example with two Boolean variables representing manual switches, which will be later replaced by physical inputs of the UniPi. A timer will be used for measuring the time when both variables are true (i.e. both switches are in the ON position). A Boolean signal will be used for signalling that the interval of predefined length has elapsed.