The article describes a simple programming paradigm in the form of creating final states - automaton. This defines the program part that is executed in the given branch. In this way we can block certain inputs and outputs that you only need to use in a specific branch (for example, one-time start of the device), possible stopping of the waterworks by the program in case of failure of the float input - lack of water / error.
![[IMG]](proxy/QULeP0%2BnyuH68Abj%2Btk0p1BzIN%2FdAWEeM6vWnMN7uK96qfdccFzpNix1ZC3Mfm0iseZlyVYkdegxqeLgUdB0IsC6XSqUmxpSxoStbuUA3mpgbszgFVwEqFqFRyl0xM23PhWUOeNPkq84R37ItXfVtC22/image.png)
![[IMG]](proxy/QULeP0%2BnyuH68Abj%2Btk0p1BzIN%2FdAWEeM6vWnMN7uK96qfdccFzpNix1ZC3Mfm0iseZlyVYkdegxqeLgUdB0IsC6XSqUmxpSxoStbuUA3mpgbszgFVwEqFqFRyl0xM23PhWUOeNPkq84R37ItXfVtC22/image.png)