Pausing


Closed Thread
Results 1 to 4 of 4

Thread: Pausing

  1. #1
    Join Date
    Sep 2006
    Posts
    747

    Default Pausing

    HI,

    I am coming with a problem with pausing after the sending a message using serout,
    The pause works great on its own, but when the program increases in size, it also increase in pause that I use somewhere else. I need a pause of 1 ms for the serout, but I am putting pause 10 on my lcdout. Now because of the LCD pause, I am sending my signal too far apart. How do I go around this problem

    ken

    I am starting a new thread because i think this is somewhat different then my other topic, which at the end was getting close to this thread.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Use 10 serout commands at once, so you get 10 ms pause for your LCD while you still have your serout working with 1ms.

    ---------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    ok, it is better,
    but once I finish the ten serout, then I still have a gap. I guess the receiver does not care that much.

    ken

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


    Did you find this post helpful? Yes | No

    Default

    Usually, i send everything in a single package, AND i receive everything in a single package. At the end i check the checksum and see if there's any error.

    There's no special need for a pause between bytes. In RF it may just become a nightmare. Manchester encoding/decoding is handy if you send/receive long packet.
    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