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/HCN2KVXSciltfPCaUg4GKSRjJhYgAvxfRxh0EzRS39jS5skoir0%2BqIutClyxTJ5TB1dDF8OtVaGfMz1dgif4%2FQ60AnjGmtBD18iVR0pQsI9Le4CKCTzVwuaY%2FJanfIsahQwkMjgD1FzzKv6Iussyhsdz/image.png)
![[IMG]](proxy/HCN2KVXSciltfPCaUg4GKSRjJhYgAvxfRxh0EzRS39jS5skoir0%2BqIutClyxTJ5TB1dDF8OtVaGfMz1dgif4%2FQ60AnjGmtBD18iVR0pQsI9Le4CKCTzVwuaY%2FJanfIsahQwkMjgD1FzzKv6Iussyhsdz/image.png)