Hello,
how can I set configuration bit for Low Voltage Program that my RB5 is I/O (not PGM) for my PIC18F4455, I can not find it in .INC file, (I use assembly language).
thanks
Hello,
how can I set configuration bit for Low Voltage Program that my RB5 is I/O (not PGM) for my PIC18F4455, I can not find it in .INC file, (I use assembly language).
thanks
Look in the P18F4455.inc file in your MPASM directory. There's a list of all config options.
New way;
; Single-Supply ICSP Enable bit:
LVP = OFF Single-Supply ICSP disabled
LVP = ON Single-Supply ICSP enabled
Old way;
_LVP_OFF_4L EQU H'FB' ; Single-Supply ICSP disabled
_LVP_ON_4L EQU H'FF' ; Single-Supply ICSP enabled
Hello Bruce,
thank you for your advice, I have overlooked it in .INC file. It is OK now.
Can you tell me please, for PIC18F4455, can I turn off SPP0, SPP1, SPP2 and SPP3 with configuration bits or I have to do it on some other way?
thanks
Read the section on Streaming Parallel Port in the data sheet. If that doesn't answer your
question let me know....;o}
Bookmarks