make an F88 all digital will be done by using this simple line...
ANSEL=0 ' disable all ADCs
if you feel safe to disable analog comparator that are already disable at POR
CMCON=7 ' disable all analog comparator
That's it that's all... basketball!
make an F88 all digital will be done by using this simple line...
ANSEL=0 ' disable all ADCs
if you feel safe to disable analog comparator that are already disable at POR
CMCON=7 ' disable all analog comparator
That's it that's all... basketball!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
config??? Fuses? registers?
Sorry i need more words to post words![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
There's a long and detailed FAQ Thread on the subject... go look...
heheheh
I'm receive in 1 second answer for to my question in : www.edaboard.com
:
Hi !
You can use the line in the beginning of your basic program:
@ DEVICE PIC16F88, followed by the fuses options:
EXTRC_OSC_CLKOUT equ 3FEC0013h ; XX XXXX XXX1 XX11
EXTRC_OSC_NOCLKOUT equ 3FEC0012h ; XX XXXX XXX1 XX10
EXTRC_OSC equ 3FEC0012h ; XX XXXX XXX1 XX10
INTRC_OSC_CLKOUT equ 3FEC0011h ; XX XXXX XXX1 XX01
INTRC_OSC_NOCLKOUT equ 3FEC0010h ; XX XXXX XXX1 XX00
INTRC_OSC equ 3FEC0010h ; XX XXXX XXX1 XX00
EXTCLK_OSC equ 3FEC0003h ; XX XXXX XXX0 XX11
EC_OSC equ 3FEC0003h ; XX XXXX XXX0 XX11
HS_OSC equ 3FEC0002h ; XX XXXX XXX0 XX10
XT_OSC equ 3FEC0001h ; XX XXXX XXX0 XX01
LP_OSC equ 3FEC0000h ; XX XXXX XXX0 XX00
WDT_ON equ 3FFB0004h ; XX XXXX XXXX X1XX
WDT_OFF equ 3FFB0000h ; XX XXXX XXXX X0XX
PWRT_ON equ 3FF70000h ; XX XXXX XXXX 0XXX
PWRT_OFF equ 3FF70008h ; XX XXXX XXXX 1XXX
MCLR_ON equ 3FDF0020h ; XX XXXX XX1X XXXX
MCLR_OFF equ 3FDF0000h ; XX XXXX XX0X XXXX
BOD_ON equ 3FBF0040h ; XX XXXX X1XX XXXX
BOD_OFF equ 3FBF0000h ; XX XXXX X0XX XXXX
LVP_ON equ 3F7F0080h ; XX XXXX 1XXX XXXX
LVP_OFF equ 3F7F0000h ; XX XXXX 0XXX XXXX
CPD_ON equ 3EFF0000h ; XX XXX0 XXXX XXXX
CPD_OFF equ 3EFF0100h ; XX XXX1 XXXX XXXX
WRT_1FOURTH equ 39FF0000h ; XX X00X XXXX XXXX
WRT_HALF equ 39FF0200h ; XX X01X XXXX XXXX
WRT_3FOURTHS equ 39FF0400h ; XX X10X XXXX XXXX
WRT_OFF equ 39FF0600h ; XX X11X XXXX XXXX
DEBUG_ON equ 37FF0000h ; XX 0XXX XXXX XXXX
DEBUG_OFF equ 37FF0800h ; XX 1XXX XXXX XXXX
CCPMX_ON equ 2FFF0000h ; X0 XXXX XXXX XXXX
CCPMX_OFF equ 2FFF1000h ; X1 XXXX XXXX XXXX
PROTECT_ON equ 1FFF0000h ; 0X XXXX XXXX XXXX
PROTECT_OFF equ 1FFF2000h ; 1X XXXX XXXX XXXX
FCMEN_OFF equ 3FFE0000h ; XX XXXX XXXX XXX0
FCMEN_ON equ 3FFE0001h ; XX XXXX XXXX XXX1
IESO_OFF equ 3FFD0000h ; XX XXXX XXXX XX0X
IESO_ON equ 3FFD0002h ; XX XXXX XXXX XX1X
for example:
@ DEVICE PIC16F88, XT_OSC,WDT_ON,PWRT_ON,MCLR_OFF, etc
It will generate the bits config fuses to be burned on your PIC.
@mel : I love your answersyour answers always go and read datasheet
![]()
No, my answer was that you go look in the FAQ section of THIS FORUM where your question (which has been asked many times before) was answered in great detail, not only with the answer which you have received which is good for the PM Assembler, but also for the MPASM Assembler that comes with MPLAB. Not only that, but there's a host of other information there which you may not have received. Do you now know where to look to find them, or when you change your PIC are you going to ask somebody for the CONFIG definitions for that chip too?
Like the old saying, "if you feed somebody, they'll be fed for a day, but if you teach them to fish, you'll feed them for a lifetime". I'm trying to stop people asking for handouts all the time, and trying to get them to fish. In your case I directed you to the EXACT SPOT where you would have found what you needed. But to click on the FAQ section and then to look down the list is obviously too difficult, so instead of following two mouse-clicks you asked the question elsewhere - obviously the easier choice from your perspective.
But since you mention it, if more people made the effort to SEARCH the posts (and if you did that then you would also have found the answers) on this forum FIRST (and also look at the Datasheet), then they would have the answers... but that of course is too difficult to do. It's much easier to ask a question and have an answer served up on a plate.
Bookmarks