HSERIN string starting index ?


Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103

    Default HSERIN string starting index ?

    Hello everyone .. Gotta mind confusing question about a very favorite command HSERIN ..
    Let's say I'm capturing bytes on USART and I have an INDEX variable called x and these x variables are within an 100 array size ..

    Is there a possible way to set an index in the command starting with a specific number ? such as ?

    hserin 60000,main,[str x[5]\90]

    I need to do this because I need the data in x[0],x[1],x[2],x[3],x[4] variables ..
    What I'm actually asking is if this command syntax is true and fine for purpose ?

    Thansk in advance ..
    Last edited by gunayburak; - 30th June 2016 at 16:35.
    - Ipsa scientia potestas est -

Similar Threads

  1. Hserin parsing string...again?
    By kevlar129bp in forum Serial
    Replies: 21
    Last Post: - 9th July 2012, 16:35
  2. HSERIN for variable length string
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th February 2010, 05:58
  3. How to index Port variable
    By jpadin1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th February 2010, 10:36
  4. How to convert a HSERIN string to a hex value?
    By ShortBus in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd October 2009, 04:41
  5. parsing string from hserin
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd April 2009, 18:42

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