serin2 command..capture hex value


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    8

    Talking serin2 command..capture hex value

    hello,.

    i try using serin2 command for capture hex code from other device...
    hex code should be capture is FE

    my command,

    serin2 RX_r, 84, 5000, nodata, [B1]



    but B1 = F, so how to i get all hex data (FE), can you modify my command?

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


    Did you find this post helpful? Yes | No

    Default

    Do you have B1 WORD size?

    B1 VAR WORD

    Then

    SERIN2 xxx,xxxx,[HEX B1]

    Look in the manual for a complete explanation.
    Last edited by mackrackit; - 8th October 2007 at 04:04.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. GPS $GPRMC to PIC16F684. Need help with SERIN2
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th November 2009, 09:47
  2. Getting SERIN2 to work?
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 22nd July 2009, 20:10
  3. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  4. SERIN2 digit parsing
    By skimask in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th January 2007, 23:15
  5. SEROUT2 and SERIN2 commands
    By bangunprayogi in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th August 2005, 09:03

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