Pic10F202 Master clear will not turn off.


Results 1 to 23 of 23

Threaded View

  1. #15
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Pic10F202 Master clear will not turn off.

    Code:
    ;----- CONFIG Options --------------------------------------------------
    _OSC_IntRC           EQU  H'0FFF'    ; This is the only option. It is here for backward compatibility
    _IntRC_OSC           EQU  H'0FFF'    ; This is the only option. It is here for backward compatibility
    
    _WDTE_OFF            EQU  H'0FFB'    ; WDT disabled
    _WDT_OFF             EQU  H'0FFB'    ; WDT disabled
    _WDTE_ON             EQU  H'0FFF'    ; WDT enabled
    _WDT_ON              EQU  H'0FFF'    ; WDT enabled
    
    _CP_ON               EQU  H'0FF7'    ; Code protection on
    _CP_OFF              EQU  H'0FFF'    ; Code protection off 
    
    _MCLRE_OFF           EQU  H'0FEF'    ; GP3/MCLR pin fuction is digital I/O, MCLR internally tied to VDD 
    _MCLRE_ON            EQU  H'0FFF'    ; GP3/MCLR pin function  is MCLR
    This is from this chips file in MPASM P10F202.inc

    Ok this is found on pp35 of the data sheet
    Last edited by Archangel; - 10th March 2015 at 04:09.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Replies: 2
    Last Post: - 24th February 2011, 01:35
  2. turn-off lcd and turn-on again
    By mehmetOzdemir in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2009, 12:57
  3. GP3 Funtion on PIC10f202
    By kessral in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th March 2009, 19:49
  4. Does CLEAR Command clear return adrress of a subroutine?
    By sayzer in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 19th February 2008, 16:25
  5. PIC10F202 Variable trouble
    By George in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 13th October 2006, 02:14

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