troubles with serial communication


Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: troubles with serial communication

    In addition to Louie's correction you need to set the oscillator register and Port register. Add the following Lines of code:

    CMCOM = 7 ' comparator off

    OSCCON = %01100010 ' oscillator @ 4 MHz

    TrisB =%00000010 'for Tx device ' pin B.1 is an input all other outputs

    TrisB =%00000001 'for Rx device ' pin B.0 is an input all other outputs

    Cheers

    Al.
    Last edited by aratti; - 11th August 2013 at 10:00.
    All progress began with an idea

Similar Threads

  1. Serial rf communication
    By tazntex in forum General
    Replies: 8
    Last Post: - 2nd August 2008, 16:27
  2. Serial Communication
    By morris in forum Serial
    Replies: 4
    Last Post: - 16th December 2006, 12:35
  3. Serial Communication
    By micah4242 in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 25th August 2006, 14:09
  4. Serial Communication
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 11th April 2006, 05:29
  5. Serial Communication
    By Keith in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th March 2005, 23:56

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