Using "END" Fries PICS?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Using "END" Fries PICS?

    Hi,

    I often place END statement @ the bottom of EACH subroutine when programming some device that must not reach " la la land " ... or accidentally fall into the next sub ...

    NEVER got any problem , especially about reprogramming ...

    by the way ...

    the END statement place a never ending SLEEP LOOP @ the locations of the program you type it, like that

    in asm :

    Code:
    SLEEP
    GOTO $-1 ' or goto the label corresponding to the sleep command,
    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Using "END" Fries PICS?

    Hi there,

    I agree with Mark_S.

    I learned the hard way with 16f88 MCUs and the MCLR issue.

    The problem is not the fact of using the MCLR pin as input, but as a combination of MCLR as input and internal OSC option.

    Everytime i design some circuit that will use the internal osccilator i know i will lose the MCLR pin.

    About the MCUs mentioned, i was never able to recover them.

    Regards
    Rui

Similar Threads

  1. Replies: 0
    Last Post: - 14th November 2013, 03:32
  2. Replies: 3
    Last Post: - 15th October 2012, 08:06
  3. Replies: 7
    Last Post: - 21st July 2011, 10:34
  4. Using "END" in a subroutine?
    By Byte_Butcher in forum General
    Replies: 6
    Last Post: - 13th February 2010, 16:32

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