Knight rider PWM

these loops execute ~65000 times with a 10 msec delay in each execution which means it takes 5+ minutes to complete.

led [1], in this case is set to the same for for each value of i as led [0] is pulsed

wouldn't you want the one LED to be turned off as the other is turned on?