Communication between PC and PIC16f876


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    8

    Default

    Merci Mister e

    But I would like to know another thing if I pass by the UART to register the information which goes into the PIC, how I have to proceed.

    This line of program is good:

    CTS = 1

    SERIN PORTC.7,N9600,["@"],char 'wait for char. @ from the PC and store second @ in char... this is just a wait line, no received data is used

    getserial:

    Serin PORTC.7,N9600,char 'receive at 9600bps and store in variable char

    write i, char 'write each received character to the memory


    if char = EOM then
    CTS = 0
    Goto start
    endif

    i = i + 1

    goto getserial

    I am going to try with your configuration of the UART
    Good day

    Regards

  2. #2
    Join Date
    Jun 2007
    Posts
    8

    Default Remerciment

    Thank you for your help,
    That works

Similar Threads

  1. Scrolling LED sign / marquee
    By led555 in forum Schematics
    Replies: 35
    Last Post: - 26th December 2008, 07:13
  2. PIC16F876 + QV306m4 Problems
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th May 2005, 19:17

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