sterretje:
is that a problem? If so, you might have to explain better.And if you updated your code, please post the updated version (in a new reply).
Basically, I need if the ILSH is activated and the infrared sensor at less than 17cm to turn the led on, to turn off the led I need to press the the other ILS, so the ILSL. Same goes for the opposite when I start with ILSL I need to turn off the led with the ILSH one. And that's where the problem is, it works when I press the if whom start with ILSL but with the other one to turn off the led I need to press one ILS then another.