Pic10F202 Master clear will not turn off.


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Pic10F202 Master clear will not turn off.

    for some reason it changed my code so here it is again


    #CONFIG
    __config _WDT_OFF & _MCLRE_OFF & _CP_OFF
    #ENDCONFIG

    OPTION_REG=%01000000

    TRISIO = %00001000

    A VAR GPIO.0
    B VAR GPIO.1
    C VAR GPIO.2
    IN VAR GPIO.3


    BEGIN: high A
    high B
    high C
    pause 1000
    low A
    low B
    low C
    pause 1000
    gotO BEGIN

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

    Default Re: Pic10F202 Master clear will not turn off.

    Code:
    #CONFIG
      __config  _IntRC_OSC & _WDT_OFF & _CP_OFF & _MCLRE_OFF
    #ENDCONFIG
    MY GUESS
    #CONFIG
    ^__config^_IntRC_OSC & _WDT_OFF & _CP_OFF & _MCLRE_OFF
    #ENDCONFIG

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