where would the for statement go then to fade up? and the delay seems to be screwing up my sensor readings.