codice:
if (ledon == 1 || ledoff == 1);
credo tu debba togliere il ; sennò else da errore