serin not work


Closed Thread
Results 1 to 3 of 3

Thread: serin not work

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Venezuela - Caracas
    Posts
    48

    Default serin not work

    Sincronismo = ">"
    ...

    'Transmite
    Letra = "A"
    serout Rf_Out, N2400, [Sincronismo, Letra]



    'Receive
    serout Rf_In, N2400, ">", Letra

    the problem is here

    if letra="A" then ... not work

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You have "serout" on both

    'Transmite
    Letra = "A"
    serout Rf_Out, N2400, [Sincronismo, Letra]

    'Receive
    serout Rf_In, N2400, ">", Letra
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2007
    Location
    Sao Paulo - Brazil
    Posts
    16


    Did you find this post helpful? Yes | No

    Default You must receive with SERIN

    You must use the command SERIN with this sintax:

    ' Wait until the character “A” is received serially on Pin1 and put next character into B0

    SERIN PIN1,N2400,["A"],B0

    good luckh

Similar Threads

  1. can't get serin to work
    By kenpo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 16th April 2007, 02:16
  2. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 19:02
  3. Serin with low voltage
    By f_lez in forum General
    Replies: 3
    Last Post: - 21st August 2006, 11:52
  4. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54
  5. Pin RA4 doesn't work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 12:03

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