problem in serin2


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2011
    Posts
    13

    Default problem in serin2

    Please i try to receive data from fsk ic ht9031 by 16f628a using serin2 command and display results on 7 segment ...my proplem is i dont receive any data exept when i use this command
    serin2 porta.0,813,300,loop[wait($02,$0a),idstring\10]
    Pecuse most nombers in my country are 10digits ...but another numbers are 9 digits and the main problem when i use
    serin2 porta.0,813,300,loop[wait($80),idstreing\length]
    I recieve rong data

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


    Did you find this post helpful? Yes | No

    Default Re: problem in serin2

    Your PIC have a built-in USART... use it, it has load of of advantage.

    you haven't posted other lines of code, so it could be anything... often really simple like adding

    CMCON = 7

    at the top of your code... it already happen once here... maybe twice...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Oct 2011
    Posts
    13


    Did you find this post helpful? Yes | No

    Default Re: problem in serin2

    thank you it is solved ......

Similar Threads

  1. Problem with serin2 serout2
    By jasem700 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th March 2009, 19:55
  2. SEROUT2/SERIN2 Problem
    By thirsty in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th September 2007, 06:56
  3. serin2 DEC problem
    By PortlandJohn in forum Serial
    Replies: 0
    Last Post: - 6th April 2006, 13:56
  4. Serin2 problem on 16F876
    By jrt4fun in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th May 2004, 18:24

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