Interupts and Command string


Closed Thread
Results 1 to 14 of 14

Hybrid View

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

    Default

    Sorry Steve, that didn't work.

    I presume with this code it is looking for 0,1 or to be the qualifier?

    If so, how do i get it to look for red, green or blue as the qualifier.

    Thats what i would like it to perform as a test example. ie if VB sends out Red, it then goes to the Sub1 routine and then captures the follwoing eight bytes.

    If Blue is sent as the qualifier, then it jumps to Sub2 and just sends out a text string.

    Any ideas?

    I've messed with the code i have so far and with your modified example as above, but no joy.

    This is driving me round the twist, been working on this piece of code for about a week now.

    Many thanks again,

    Steve

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    you may look at the Melanie example
    http://www.picbasic.co.uk/forum/showthread.php?t=573

    Maybe something to play around.

    As i said, i never waste my time 'round string parsing in a PIC. I keep my code space for something else than that.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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