fading LED loops, getting stuck in a for loop