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/DH8itcQDQ2ugMxRae%2Bg6r9ZNs4VrNem0qVdiqLC%2B5N1qdXLWV9RHxJf2%2ByyG%2F9xhRHRtvlMC0GBxY3VTfbf6578zo%2FtyDeZJUZ0VVYmx8Y2%2BtpD4Vqxu%2BsGaBnnOXpJpE%2Bie83JHzhfryXF97IoZkhOE/image.png)
![[IMG]](proxy/ZRuyeWgDJO0IeBjCANiaLVbLguKVhAJP%2Bs%2Fy7sEzEWoMq7Nxp%2BLqpC5h%2B%2B5gMffIlb7Ziy6Q7xN4roImXQewSCfOF7sQi%2FQ%3D/image.png)
![[IMG]](proxy/6Jdqf8tqoVASkNuTAvVb4kGMpze5h3srBN4Rkc%2FcAa4fG7v3baWiD1xQt8JWusWbbbx29XmseNLTNzfSqfmf%2FGSvQ%2BBxGUI%3D/image.png)
![[IMG]](proxy/DH8itcQDQ2ugMxRae%2Bg6r9ZNs4VrNem0qVdiqLC%2B5N1qdXLWV9RHxJf2%2ByyG%2F9xhRHRtvlMC0GBxY3VTfbf6578zo%2FtyDeZJUZ0VVYmx8Y2%2BtpD4Vqxu%2BsGaBnnOXpJpE%2Bie83JHzhfryXF97IoZkhOE/image.png)