Occasional collision


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Location
    Novi Sad, Vojvodina
    Posts
    7

    Default Occasional collision

    Hello!
    I am writing program for 16F648A @4MHz, who should analyze two entries on RB.6 and RB.7 from optocouplers (cca 50-100ms), and using HSERIN with interrupt (9600) and ten bytes in the package. Is there a possibility to avoid collision with HSERIN interrupt while analyzing the situation with RB.6 and RB.7?
    Thanks in advance!
    Emil

  2. #2
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126

    Default

    The good thing about using the Hardware UART is that you have a two byte buffer, so you can be doing other things and still have data coming in.

    bill.

Similar Threads

  1. PICs in a RS-485 network?
    By atomski in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 12th November 2011, 09:52

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