Serin woes


Results 1 to 5 of 5

Thread: Serin woes

Threaded View

  1. #1
    Libretto's Avatar
    Libretto Guest

    Question Serin woes

    Hello there,

    I am having problems with the 'serin' command. I have searched this and the MELabs forum about this problem. I have read about the timeout part of serin and the need for a pull down resistor etc...

    At work, the line of code below has been used with no problems. (The preamble is correctly detected and the data stored).

    Serin portc.7,N9600,["ZOM"],z,zc,f,fc

    But when I try to use the timeout options, eg:

    Serin portc.7,N9600,20,fail,["ZOM"],z,zc,f,fc

    It appears the preamble is ignored, so the data is never recovered. Of course the timeout and fail routine works correctly. So somehow the timeout part conflicts with the preamble??

    Any ideas? Suggestions welcome.

    P.S.: Trying on 16F870 and PBP v2.43
    Last edited by Libretto; - 9th November 2004 at 10:48.

Similar Threads

  1. Serin EEPROM Programmer
    By dirtbiker5627 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 24th February 2010, 23:48
  2. Serin woes - qualifiers not working
    By tekart in forum Serial
    Replies: 11
    Last Post: - 2nd February 2010, 18:41
  3. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  4. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 19:02
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54

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