RX TX modules - intermitent communication


Results 1 to 14 of 14

Threaded View

  1. #10


    Did you find this post helpful? Yes | No

    Default

    Hi dhouston,

    You are correct, these are FSK modules and they output automatically the data, that's why i had those questions made about the pulsin

    However, you really need the first bit of each reception to trigger an interrupt to assure that you catch each byte.
    True, but in this case i'm starting with a very simple Loop ( both RX and TX ). For now i'm not thinking Interrupts. Just need to get the data flowing correctly first and therefor i'm using just this :

    TX
    Code:
    tx:
    debug "ok", dec value dig 3, dec value dig 2, dec value dig 1, dec value dig 0
    gosub getvalue
    goto tx:

    RX
    Code:
    rec:
    debugin [wait ("ok"),dec4 MYDATA]      
    lcdout cl,row4, "received - ",DEC MYDATA
    goto REC
    Still, i get the same simptoms...sometimes receive all digits, sometimes none, sometimes just one or two

    Thanks again for all your help.
    Last edited by ruijc; - 10th June 2009 at 12:21.

Similar Threads

  1. Replies: 67
    Last Post: - 8th December 2009, 02:27
  2. RX - TX timming
    By ruijc in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th February 2009, 00:06
  3. RX / TX duo
    By mbw123 in forum General
    Replies: 19
    Last Post: - 30th July 2006, 16:07
  4. TX RX Buffer Question
    By shawn in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th January 2005, 01:49
  5. Tx and Rx of Single Pin PIC's
    By Dwayne in forum Code Examples
    Replies: 0
    Last Post: - 26th May 2004, 14:55

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