12f675 serial pic2pic


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    tagan, How long are you waiting after poweron for the 16f877 before you powerup the 12f675? I notice that you only send the data once and end the program execution. Maybe you are not waiting long enough for the LCD display to initialize before sending the data to it. I would place a delay before the data is sent to the LCD display and make sure the 16F877 is ready to receive the data before you send it.

    Dave Purola,
    N8NTA

  2. #2
    tagan's Avatar
    tagan Guest


    Did you find this post helpful? Yes | No

    Default

    thanks for your warning. I solve this problem change the mode 16789 to 396. yes you are right. it isnt necessarry to use portb.2 if I only write on the lcd . but it isnt my original program. it is a test. (can I use serial comminication) and get code for copy+paste from my previous program . also you are right about ossicilator. Iwill remove internal command. thanks all for I get your time and sorry for my bad english

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    And oups i just notice something interesting in the 12F config file about the config fuses...
    Quote Originally Posted by M12F675.INC
    INTOSC equ 3FF80005h ; XX XXXX XXXX X101
    INTRC_OSC_CLKOUT equ 3FF80005h ; XX XXXX XXXX X101
    INTOSCIO equ 3FF80004h ; XX XXXX XXXX X100
    INTRC_OSC_NOCLKOUT equ 3FF80004h ; XX XXXX XXXX X100
    Where is the INTRC_OSC listed... oups. Might be another problem source.

    EDIT: Great to know it's working now. Don't worry about your english... it could be reaaallllly worst. I'm french and it's hard for me as well.
    Last edited by mister_e; - 12th March 2006 at 22:58.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  3. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  4. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35
  5. Serial LCD on 12F675
    By anj in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st March 2004, 23:11

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