Simple sensor

From what I can gather the code looks OK and in line with the design brief.

However the design looks pretty dodgy, for example what happens if both vstup1 and vstup2 are > 50?


Rob