Error: Marco SERIN2STR?W not found in macro file


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    3

    Post Error: Marco SERIN2STR?W not found in macro file

    Hello all

    Have a question about an error I keep getting. I'm writing a program that reads RFID cards, to do this, I have a SERIN2 command that reads the data from the card reader and a SEROUT2 command that pushes that to a display to see. I keep encountering this "Error: Marco SERIN2STR?W not found in macro file" and "Error: Marco SEROUT2STRN?W not found in macro file" problem, any help would be greatly accepted.

    PIC Basic Pro V3.0.0.5
    using a PIC 16F882

    Current Code:


    Income var word(9)
    high portc.5 'Card reader disabled

    Main:

    low portc.5 'Card reader enabled
    pause 50 'Time to come on
    serin2 portc.4,396,[str Income\9] 'Read serial data to string
    pause 50
    serout2 portc.3,396,[str income\9] 'Output to display
    serout2 portc.3,396,[10] ' display to move down one line
    goto main

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

    Default

    The STR modifier only works with BYTE arrays.

    Change ...

    Income var word(9)

    to

    Income var BYTE(9)
    DT

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts