Comunication between 12F683 & 16F84A with serin2/serout2


Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    Apr 2010
    Posts
    5

    Default Comunication between 12F683 & 16F84A with serin2/serout2

    I'm working on a project which need to send data from 12F683 to 16F84A. I'm using a 4MHz crystal on 84A & configure 683 to use internal 4MHz clock. I can see 12F683 is sending data out with a scope but 16F84A is not responding (data no showing in 16X2 LCD). It work when I replace 12F683 with 16F84A.

    12F683 code:
    SEROUT2 GPIO.5,813 ["A", tmp]

    16F84A code:
    serin2 PORT5.4,813,[WAIT("A"),dec CONT2]

    Anyone know what's the problem? Thanks.
    Last edited by kklim29; - 28th April 2010 at 19:09. Reason: Wrong device code

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