Newbie help. PIC18F45k20 pickit debug express


Results 1 to 20 of 20

Threaded View

  1. #10
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Newbie help. PIC18F45k20 pickit debug express

    Yes, that's how you do it, as long as it's indented. Looks like the forum takes out the formatting.... so you probably had it perfect to begin with...
    Code:
    #CONFIG
        __config _XT_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
    #ENDCONFIG
    But the rest is perfect!

    Except the 45K20 will want it in this format:
    Code:
    #CONFIG
            __CONFIG    _CONFIG1H, _FOSC_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
            __CONFIG    _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H
            __CONFIG    _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _HFOFST_ON_3H & _MCLRE_ON_3H
            __CONFIG    _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L
    #ENDCONFIG
    Last edited by ScaleRobotics; - 9th August 2011 at 23:11.

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