fratello
- 26th August 2011, 17:25
Hello ! I use in many projects PIC 12F675. For programming I use WinPic 3.55b.
I wrote one code like this :
@ DEVICE PIC12F675, INTRC_OSC_NOCLKOUT, WDT_OFF, PWRT_ON, MCLR_OFF, BOD_OFF, PROTECT_ON
DEFINE OSCCAL_1K 1
DEFINE OSC 4
DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 50
CMCON = 7
OPTION_REG = %10000110
TRISIO = %00011110 ' if 1 then GPIO=input ; if 0 then GPIO=output
ANSEL = %00011000
ADCON0 = %10001101
etc.
When I try to programming the PIC, I receive this message. Usually I choose the "Yes" option, but I wonder if is OK ? Which option it's better ? Thanks in advance for help !
I wrote one code like this :
@ DEVICE PIC12F675, INTRC_OSC_NOCLKOUT, WDT_OFF, PWRT_ON, MCLR_OFF, BOD_OFF, PROTECT_ON
DEFINE OSCCAL_1K 1
DEFINE OSC 4
DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 50
CMCON = 7
OPTION_REG = %10000110
TRISIO = %00011110 ' if 1 then GPIO=input ; if 0 then GPIO=output
ANSEL = %00011000
ADCON0 = %10001101
etc.
When I try to programming the PIC, I receive this message. Usually I choose the "Yes" option, but I wonder if is OK ? Which option it's better ? Thanks in advance for help !