Help....


Results 1 to 4 of 4

Thread: Help....

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    you didn't tell us your osc speed, but i'll assume 4MHZ
    use the following setting and post your results
    Code:
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
    DEFINE HSER_SPBRG 25  ' 9600 Baud @ 0.16%
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically
    Those lines above, are a courtesy of Mister E PICMultiCalc

    Zah Mister E PicMultiCalc... the calc who calc those calcs

    and this...
    Code:
    ME:
    High TXD
    HSerout["ATX=[2]"] ' busy line
    Pause 2000
    Low TXD
    
    Pause 2000
    HSerin 500,ME,[wait("OK")]
    probably a real killer and also golden to miss incomming data., remove the pause 2000
    Last edited by mister_e; - 13th December 2006 at 06:51.
    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