reset question


Closed Thread
Results 1 to 3 of 3

Thread: reset question

  1. #1
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default reset question

    Does anyone know if there is a difference between a MCLR reset and cycling the power?

    And does PBP have a "reset" command? I know I can use
    Code:
    ASM
    RESET
    ENDASM
    but can I do it directly with PBP?
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: reset question

    Yes, there are differences between the different RESET's.

    The Initialization Conditions table in the datasheet shows the differences.

    Name:  Resets.JPG
Views: 170
Size:  96.0 KB

    > but can I do it directly with PBP?
    Code:
    @  RESET
    @ RESET only works on 18F's and 16F1's.
    10F, 12F, 16F don't have a RESET instruction.
    DT

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: reset question

    Thanks Darrel. Seems I always forget about @.

    The 16F1's seem to be my new favorite flavor. I guess I soon need to migrate to the 18's.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

Members who have read this thread : 1

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