Hmm, I just put a chip on the breadboard, hooked up an LED, a resonator and the appropriate wires to the PICKIT2 and programmed it in place with the code posted, and it works. I actually used an 16F876A, so you MAY have more to do for a 877A.
The PICKIT2 (at least mine ) can be a little temperamental sometimes, and tries to code protect the chip, a trick I found is to select another chip, then select the correct chip, then without loading a file, click the write button, then program in the file.
Last edited by Archangel; - 9th February 2010 at 06:48.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks