PIC12F675 - config


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Posts
    2

    Default PIC12F675 - config

    ;************************************************* ***************
    ;* 12F675.INC
    ;*
    ;* By : Leonard Zerman, Jeff Schmoyer
    ;* Notice : Copyright (c) 2005 microEngineering Labs, Inc.
    ;* All Rights Reserved
    ;* Date : 08/31/05
    ;* Version : 2.46a
    ;* Notes :
    ;************************************************* ***************
    NOLIST
    ifdef PM_USED
    LIST
    include 'M12F675.INC' ; PM header
    device pic12F675, intrc_osc_noclkout, wdt_off, mclr_off, protect_off
    XALL
    NOLIST
    else
    LIST
    LIST p = 12F675, r = dec, w = -302
    INCLUDE "P12F675.INC" ; MPASM Header
    __config _INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _WDT_OFF & _CP_OFF
    NOLIST
    endif
    LIST


    Compile MPASMv.5.14

    __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF

    MCLRE ???
    WDT ???

    pl. help
    thanks

  2. #2
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: PIC12F675 - config

    ?????

    Maybe you could find your answer in Datasheet........
    Thanks and Regards;
    Gadelhas

  3. #3
    Join Date
    Jun 2011
    Posts
    2

    Default Re: PIC12F675 - config

    micro code studio plus 3.0.0.0 XP

    Program PBP xxx

    Compile program MPAS

    PBP 12F675.INC
    NOLIST
    ifdef PM_USED
    LIST
    include 'M12F675.INC' ; PM header
    device pic12F675, intrc_osc_noclkout, wdt_off, mclr_off, protect_off
    XALL
    NOLIST
    else
    LIST
    LIST p = 12F675, r = dec, w = -302
    INCLUDE "P12F675.INC" ; MPASM Header
    __config _INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _WDT_OFF & _CP_OFF
    NOLIST
    endif
    LIST


    xxx.LST - __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF


    How no MCLRE_OFF and WDT_OFF ?

Posting Permissions

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