Wireless using debug.


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    Wagoner, USA
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    The thread is a bit confusing, but the post I linked you to has working code.
    Well sort of. It prints the 9 which is supposed to be the sync byte followed by the 3 (93) but only if connected by a wire.
    Isn't it supposed to just print the character following the sync byte?
    Also it won't do anything if sent wirelessly.
    I know my wireless modules work because I can send data followed by trash with the first code above.
    Just can't get rid of the trash and I do have a ground plane on both ends.
    Bruce said that it was hard to make them work properly but surely someone has a simple code to transmit and recieve string and data.
    I wanted to use debug but it isn't as simple as it sounded in my head..

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


    Did you find this post helpful? Yes | No

    Default

    TIP: If you're sending long strings of data, first receive the whole string, then print it on
    the LCD.

    Receiving a single byte after the "A", then printing it on the LCD, you're missing a TON of
    serial data during LCDOUT. And you only have 1 synch character at the start of each
    string.

    Also ... give the receiving end time to place everything on the LCD before sending the next
    string. Imagine someone handing you ten gallon buckets of water every 2 seconds, with
    you having to pour it through a straw into another bucket, and trying to keep up...;o)
    Regards,

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

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. debug not working with MPASM assempler
    By santamaria in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2009, 07:51
  4. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  5. Need help with debug
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th March 2008, 06:37

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