LED's doesn't light up with digital output

 on != on;

You need on = !on;