serin trouble with PIC16F877A


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: serin trouble with PIC16F877A

    OK, I put a pause 500 in front of the serin command with no change. Two questons... 1.Why did you think that would work? (Not being smart here, I assume you had logical reasoning or experience that might be of some use someday) 2. Can I use multiple qualifiers? Like if I want to reject everything except 1 2 3 or 4?? thanks!

  2. #2
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: serin trouble with PIC16F877A

    Quote Originally Posted by thasatelliteguy View Post
    OK, I put a pause 500 in front of the serin command with no change. Two questons... 1.Why did you think that would work? (Not being smart here, I assume you had logical reasoning or experience that might be of some use someday) 2. Can I use multiple qualifiers? Like if I want to reject everything except 1 2 3 or 4?? thanks!
    You have made my day

  3. #3
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: serin trouble with PIC16F877A

    You have a loop that is constantly being executed except for the 500 pause. You Tx then instantly Rx with no time for a response to be sent.

    Well that was my thinking but obviously there is more to it than I first thought.

    try

    Serin RX, 2, 500,MainMenu,cereal

    serin will wait 500 msecs waiting for data to come in. cereal you have as a word it only needs to be a byte.

Similar Threads

  1. Having trouble with SERIN command and MAX6675
    By emerson in forum mel PIC BASIC Pro
    Replies: 39
    Last Post: - 16th April 2017, 20:48
  2. Control de puertos PIC16F877A / Port Control PIC16F877A
    By martintorres in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th October 2013, 04:49
  3. i'm in trouble...help me please...
    By texas5 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 25th September 2008, 20:50
  4. Trouble with P.W.M
    By Muller in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th April 2008, 22:18
  5. Replies: 9
    Last Post: - 4th February 2008, 20:12

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