I am so confused!


Closed Thread
Results 1 to 3 of 3

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: I am so confused!

    With PBP3, it expects you to use the #config and #endconfig statments:

    Code:
    #config
    ;18F1320 EXT OSC RUNNING AT 20MHZ TO 40MHZ MCLR AS INPUT AND OSC PINS AS INPUTS
     __CONFIG _CONFIG1H, _HS_OSC_1H & _FSCM_OFF_1H & _RC_OSC_1H
     __CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_OFF_2L & _BORV_27_2L
     __CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_32K_2H
     __CONFIG _CONFIG3H, _MCLRE_OFF_3H
     __CONFIG _CONFIG4L, _DEBUG_OFF_4L & _LVP_ON_4L & _STVR_ON_4L
     __CONFIG _CONFIG5L, _CP0_OFF_5L & _CP1_OFF_5L
     __CONFIG _CONFIG5H, _CPB_OFF_5H & _CPD_OFF_5H
     __CONFIG _CONFIG6L, _WRT0_OFF_6L & _WRT1_OFF_6L
     __CONFIG _CONFIG6H, _WRTC_OFF_6H & _WRTB_OFF_6H & _WRTD_OFF_6H
     __CONFIG _CONFIG7L, _EBTR0_OFF_7L & _EBTR1_OFF_7L
     __CONFIG _CONFIG7H, _EBTRB_OFF_7H
    #endconfig
    http://www.scalerobotics.com

  2. #2
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Red face Re: I am so confused!

    Thank you! This is all new to me!

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