breadboard and hserout interference?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    76


    Did you find this post helpful? Yes | No

    Default Synchronizing PIC's

    Thanks for the responses. I tested the program and it turns out that you were right. It must have been a buffer overflow. One last thing, though. Eventually I will connect Rx and Tx modules to my PIC's. To synchronize these I am trying to send synchronizing variables to balance the modules. My code must be incorrect, though, because it is not working. Here is the code for the transmitter:

    Pre CON $A5
    Synch CON "~"
    HSEROUT [Pre,Synch,"1"]

    and the receiver code,

    Synch CON "~"
    HSERIN [WAIT(Synch),Msg]

    Thanks for the help!

    -Mike

  2. #2
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Try this instead:

    HSERIN [WAIT("~"),Msg]

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