PIC18F458 and LCD


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Location
    Stockholm, Sweden
    Posts
    4

    Default PIC18F458 and LCD

    Hi: I'm a new user of this forum and hope I do it right.
    hmmm.whel Here is my Question:

    I got a PIC18F458 and 4bit connected LCD Display
    connected as follow

    DEFINE LCD_DREG PORTC
    DEFINE LCD_DBIT 0
    DEFINE LCD_RSREG PORTE
    DEFINE LCD_RSBIT 2
    DEFINE LCD_EREG PORTC
    DEFINE LCD_EBIT 4
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2
    DEFINE LCD_RWREG 0
    DEFINE LCD_RWBIT 0
    DEFINE LCD_COMMANDUS 5000
    DEFINE LCD_DATAUS 100
    DEFINE LCD_INITMS 100

    I also set ADCON to I/O state.

    The display show the chars I want but it don't
    take the $ commands at all so
    I't will not clear display or change row I only got the
    charWalue and cursor jump displayed.
    Do you got a' clue of what it can depend on?

    ps: exuse my inglish but it i think it's better than your
    swedish
    Uffe:

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


    Did you find this post helpful? Yes | No

    Default

    first time i heard about that!! Can you provide you LCD model?
    Steve

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

  3. #3
    Join Date
    Sep 2005
    Location
    Stockholm, Sweden
    Posts
    4


    Did you find this post helpful? Yes | No

    Default FW: PIC18F458 and LCD

    I hawe alredy fix the problem Melanie Told me to take away R/W Defines
    After that it works nice.
    The funny part is that it workt well whit PIC16F874A before I changed it.
    And In The PBP Manual it is rekomended to Put R/W Defines to 0 when
    R/W is conected to ground
    Uffe:

  4. #4
    Join Date
    Sep 2005
    Location
    Stockholm, Sweden
    Posts
    4


    Did you find this post helpful? Yes | No

    Default FW: PIC18F458 and LCD

    Sorry forgott to tell you about the LCD it is an LCM
    GCT-16026-TS6L2C with LCDcore KS0066U + KS0065B
    Uffe:

Similar Threads

  1. Problem with PIC18F458 ADC code
    By minmin in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st June 2011, 08:13
  2. Converting A to D value to 0 to 5VDC
    By jblackann in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2006, 00:40
  3. Can anyone help me to use Writecode for pic18f458 ?
    By dip1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th June 2006, 22:29

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