Quote Originally Posted by syscoder View Post
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.
You do know that you aren't going to dim anything using just portc.1 and turning it on and off. You have to use a PWM output or some sort of software driven PWM...change the duty cycle. Just sending the intensity (0-255, a byte value) to portc.1 (a bit value) isn't going to do anything for you...

And I'm done answering your multiple questions in multiple forums about the same thing...