Thank you for your fast answer. The answer from John P make me think to look more at how my switches are connected and I realised my switches were returning a state 1 instead of 0.
Here are how my switch are connected.
The hardware work ok if I am doing a regular IF and ELSE (only one choice) But when I want to use many ELSE IF (many choices) that is when it doesn't work.
Hi, I am new in code. I am trying to understand why my code is not working. In regards of everything I can read on many books and on the help file it should work. Sometime a little dot could change ev ...