ard. uno output pins problem, 5 to 9, 10 is ok.

Are you setting the pins to OUTPUT?