NEED HELP in pin16f877a

Thread Starter

aoronaziz

Joined Apr 2, 2013
3
hello. im new in pic. I have task to make blinking led using assembly in pic. the problem is after i program the hex file in pic, led only blinking when i put programmer cable on it(supply from pickit2). it cannot run using my pic circuit supply. But when i program c language hex the led work just fine. how do i fix this problem? Sorry for my bad english.

this is my code
 

Attachments

MrChips

Joined Oct 2, 2009
30,714
Next, check the power supply to your PIC16F877A.
Connect a 0.1μF capacitor and a 10μF electrolytic capacitor from VDD to VSS.
 

tshuck

Joined Oct 18, 2012
3,534
Also, you do have a crystal, or some other oscillator- attached, right? How about a schematic?
 
Last edited:

tshuck

Joined Oct 18, 2012
3,534
And your solution was....? Remember, this is a learning site, be sure to post what helped you, so someone in the future may also benefit from it.
 
Top