HSERIN vs Serin2


Results 1 to 7 of 7

Threaded View

  1. #5
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    Hmmmm,

    some more testing shows that:

    Code:
    hserin [wait ($FD)]
    allows the program to continue whereas

    Code:
    hserin [wait ($FD), dec databyte(0)]
    does not.

    However, if I put my original string in but with the DEC modifier removed, the code works fine:

    Code:
    hserin [wait ($FD), databyte(0), databyte(1), databyte(2), databyte(3), databyte(4), databyte(5)]
    I have also tried the HEX modifier but again this prevents the code from progressing. Very strange
    Last edited by Rob; - 13th February 2008 at 10:47. Reason: Gramatical error

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. Should I use serin2 or HSERIN?
    By TonyA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th April 2007, 16:05
  4. SERIN2 digit parsing
    By skimask in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th January 2007, 23:15
  5. Hserin not working...
    By robert0 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd August 2005, 12:25

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