Marin,
take pin 3 much closer to ground, right now Mine is tied to ground with a 100 ohm resistor and no connection to 5v+ .
Which assembler are you using, are you using MPASM or the default PM assembler?
If using PM then add to your code:
Code:
@ DEVICE XT_OSC ' sets programmer to external oscillator - low power, HS would be for faster xtals.
@ DEVICE pic16F84, PWRT_ON ' Power-On Timer
@ DEVICE pic16F628, MCLR_ON ' Master Clear Options (External)
@ DEVICE pic16F628, LVP_OFF ' Low-Voltage Programming
@ DEVICE pic16F628, BOD_OFF ' Brown-Out Detect
If you looked at the thread I included, then these should look familiar, this way you do not have to set them manually every time you program a chip. Be sure your microcode studio is set for the proper chip number, the setting is about an inch from the top and an inch from the left. When the programmer software starts make sure it also has the proper chip number selected.
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