12F675 - another issue


Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582

    Default 12F675 - another issue

    Hello ! I use in many projects PIC 12F675. For programming I use WinPic 3.55b.
    I wrote one code like this :
    Code:
    @ 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 !
    Attached Images Attached Images  

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts