Hserin


Closed Thread
Results 1 to 8 of 8

Thread: Hserin

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: Hserin

    HSerout ["AT+CWMODE=1",13,10]
    hserin [WAIT("OK") ,RX0,RX1,RX2,RX3,RX4,RX5]
    the device responds

    OK(chr13,chr10) or OK(chr10)

    so
    RX0=13,RX1=10 and then hserin will wait forever trying to fill rx2-5 because no more serial data is forthcoming


    either use a timeout or

    hserin [WAIT("OK") ]
    Warning I'm not a teacher

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Hserin

    With hserin you can receive one byte at a time into a buffer until you see the return character,
    and then look at the rest of the command you received.

  3. #3
    Join Date
    Mar 2016
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Hserin

    Thanks for the info! Tomorrow I will try again.

  4. #4
    Join Date
    Mar 2016
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Hserin

    Okay. Will try tomorrow.
    Thanks again for your help.

Similar Threads

  1. HSerin
    By GatorGuy in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th October 2011, 05:04
  2. Hserin
    By GatorGuy in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 26th February 2010, 12:36
  3. hserin
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 21st February 2007, 18:15
  4. Hserin
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 20th March 2006, 23:09
  5. Hserin
    By MICOCALI in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd May 2005, 09:09

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