Quote Originally Posted by iugmoh View Post
I try this code for blinking led on PIC18f452 , but nothing happened, the led always off , I use in this circuit 4MHZ XT crystal , 10K connected to MCLR TO +5v:
Connect the LED to MCLR...does it work then?
And let it run for at least 2 minutes.
Does the LED on PortB.0 change state?