Re: PIC16F886 not running.
To make it blink you have to turn it off too
PortB.0 = 0
pause 100
Do you have a config statement.
Don't forget to tell PBP whay Oscillator speed.
DEFINE OSC 4
I have not studied this chip but it has OSCON registers and OSCTUNE registers.
Try OSCCON = %01100000 sets oscon to 4mhz (default)
Last edited by Archangel; - 5th January 2015 at 00:57.
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