problem in serin2



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

+ Reply to 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, 18:55
  2. SEROUT2/SERIN2 Problem
    By thirsty in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th September 2007, 05:56
  3. serin2 DEC problem
    By PortlandJohn in forum Serial
    Replies: 0
    Last Post: - 6th April 2006, 12:56
  4. Serin2 problem on 16F876
    By jrt4fun in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th May 2004, 17:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts