thanks.

portc.1 is for the led i will make a led dimmer.(0-255 = %0 -%100 intensty)

but there is some problem on the code i think.