pic16f505 serin2 not supported?


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2011
    Posts
    21

    Default pic16f505 serin2 not supported?

    hi
    can any one tell me if pic16f505 supports serin2 command? i tried the below code but it gives me error, "SERIN2DPIN?T not found in macro file"
    Code:
    define OSC 4
    include "modedefs.bas"
    temp var byte
    
    main:           
    SERIN2 PORTC.1, 84, [temp]
    goto main
    thank you

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: pic16f505 serin2 not supported?

    I think this is a problem for MeLabs support.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default Re: pic16f505 serin2 not supported?

    In the PBP manual under SERIN2, you'll find this note.
    SERIN2 is not supported on 12-bit core PIC MCUs due to RAM and stack constraints.
    The PIC16F505 has a 12-bit core.
    DT

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: pic16f505 serin2 not supported?

    DOH!!!!!!

    I forgot about that.
    Dave
    Always wear safety glasses while programming.

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