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/nBsYseJmmkv1%2BxUWDEaTGcvFKEadwEomj5aKfS%2F3h%2FsbOA9VKNOgEetsV5tkeDvci8zFk4gz17cUSG29p1n7ZXhhwR7mVpr8TVZ9ZKUAeecBSL6N3ljCxI9M2FK1V0NtmeTd17jV2u5R%2FIy5P74ms8e7/image.png)
![[IMG]](proxy/nBsYseJmmkv1%2BxUWDEaTGcvFKEadwEomj5aKfS%2F3h%2FsbOA9VKNOgEetsV5tkeDvci8zFk4gz17cUSG29p1n7ZXhhwR7mVpr8TVZ9ZKUAeecBSL6N3ljCxI9M2FK1V0NtmeTd17jV2u5R%2FIy5P74ms8e7/image.png)