Serin,Serout,Hserin,Hserout


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I send Tony end come back to PC just T.
    Example:
    loop:
    Serin PORTC.7, T2400, ReadIn
    Serout PORTC.6,T2400,[ReadIn,10,13]
    goto loop
    Tony consists of 4 bytes. You would need to receive then send 4 bytes.

    Serin PORTC.7, T2400, Char1, Char2, Char3, Char4
    Serout PORTC.6,T2400,[Char1, Char2, Char3, Char4,10,13]

    Or use Serin2/Serout2 with the STR modifier.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hi all,
    Thanks for the answers,Yes I have Max232,I have just try Hserout ["my text"] and this work good .I dont know why :-).
    I think I must learn more about RS232 and all the little details like baud rate, inverted or not inverted :-(.


    Thanks!!!
    Regard Pesti
    Last edited by Pesticida; - 28th June 2005 at 10:28.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I have use now :
    DEFINE HSER_TXSTA 24h ' Set transmit status and control + BRGH=1
    Define HSER_BAUD 9600

    and all work very good thanks, you are the bests !

    Regard Pesti.

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