LED's remain in HIGH state

if(photocellVal > minLight and ledState == 1);
and &&