LCDOUT with 16f684


Results 1 to 18 of 18

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    be sure your r/w pin (pin 5) on LCD is ground. Is when you're increase voltage on Vo (pin 3, kind of contrast) you see some black square block?

    by the way PORTC is only 6 bits.... so you must you this define


    ; Set starting Data BIT (0 OR 4) IF 4-BIT bus
    DEFINE LCD_DBIT 2 ;instead of 4

    but not sure if it's gonna work

    May use
    DEFINE LCD_DBIT 0



    do you use internal or external clock. In case you use internal clock you have to define OSCCON for proper clock mode.... factory is 32khz...really slow

    datasheet p31 (pdf)

    OSCCON=$60 ;set to internal 4MHZ clock

    that will work now!!!
    Last edited by mister_e; - 21st November 2004 at 22:38.
    Steve

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

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

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