Re: PIC16F886 not running.
Hi, Peter
Have a Happy new Year !
we also could write it :
Code:
PORTB = 0
TRISB = %00000000
ADCON0 = %00000000
ANSEL = %00000000 ' Make AN0-AN7 digital
ANSELH= %00000000 ' Make AN8-AN13 digital
WHILE 1
TOGGLE PortB.0
pause 300 ' just to see something ...
WEND
END
Note PBP+ chip defaults are not shown here ... but [no]don't[/no] NEVER forget they exist !!!
Last edited by Acetronics2; - 5th January 2015 at 18:58.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks