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/kCt94yuJmzlPT5O%2BM1aKWVlLDfoQAOIhVLS8nc1RJKeKxgrnxe038v0XxFjYbqCq05xK2qzp0NRBG3JYRs7Epqa4tHNPGDMixDmoq1%2B9qwjWNKF8%2FyGqSxG36UIGMHE8AIIBBEtoj3VWw32ZTi7lZ3sc/image.png)
![[IMG]](proxy/kCt94yuJmzlPT5O%2BM1aKWVlLDfoQAOIhVLS8nc1RJKeKxgrnxe038v0XxFjYbqCq05xK2qzp0NRBG3JYRs7Epqa4tHNPGDMixDmoq1%2B9qwjWNKF8%2FyGqSxG36UIGMHE8AIIBBEtoj3VWw32ZTi7lZ3sc/image.png)