Problem with serin2 serout2


Results 1 to 6 of 6

Threaded View

  1. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Code:
    SEROUT2 0,T9600,[DEC1 b0]
    To use 9600,n,8,1 with Serin2/Serout2, code should be:

    Code:
    SEROUT2 Pin,84,[DEC b0]
    SERIN2 Pin,84,[b0]
    What does your program after the serin2 with the byte received? Very likely the second byte arrives when receiver is not yet ready, increase the Pause to 1000 and see if it works than reduce it gradually to the optimum.

    Al.
    Last edited by aratti; - 5th March 2009 at 18:30.
    All progress began with an idea

Similar Threads

  1. Serout and 18F87J50
    By Glenn_Webber in forum Serial
    Replies: 8
    Last Post: - 20th November 2009, 14:26
  2. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 02:38
  3. Serout2 and Serin2 problem
    By MrSafe in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 26th July 2007, 04:33
  4. SEROUT2 and SERIN2 commands
    By bangunprayogi in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th August 2005, 09:03
  5. Simple PC Menu System with Serin2
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd April 2005, 08:27

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