Advantages of HSerout over Serout2 and a problem


Results 1 to 6 of 6

Threaded View

  1. #6
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    rpstroj

    with the following code I achieved a reliable serial communication @ 115200 8N1 on a 18F452 @ 20 MHz
    (MAX232 between PIC and PC)


    '-------------------------
    DEFINE LOADER_USED 1
    DEFINE OSC 20

    DEFINE HSER_RCSTA 90h
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_BAUD 115200
    DEFINE HSER_CLROERR 1

    Loop:

    HSEROUT ["Test 1234567890"]

    GOTO Loop
    Last edited by NavMicroSystems; - 11th August 2004 at 22:31.

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