hello! I am in a project lead the way class trying to figure out what is wrong with my program. I have a general “If” statement, and when I start the program, everything works correctly, but when one integer becomes greater than the other, the code does not move to the “else” program and turn the lights off as it should. (or vise versa) but when I stop the program, and restart it, it will update and have the code at the correct place. If that makes sense. the code will not change automatically, but it will if I manually stop and start the entire program.

Without seeing your code it’s hard to assist, perhaps post it in a new thread if you are still having problems.