Quote Originally Posted by iugmoh View Post
oky , I connect MCLR -------> led through 470 ohm resistor , the brightness is very low, nothing happened to portb always off
The point of the LED on MCLR was to make sure that MCLR was actually getting pulled up to +5v.