Help on lCD and PIC18F4550 setup


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Help on lCD and PIC18F4550 setup

    I think this should be portb.5

    Code:
    Define LCD_DREG  PORTB
    Define LCD_DBIT  4
    Define LCD_RSREG PORTB
    Define LCD_RSBIT 4
    Define LCD_EREG  PORTB
    Define LCD_EBIT  4
    
    And if you are using a 4 or 8 mhz crystal, then you probably are not running at 48mhz.

  2. #2
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Help on lCD and PIC18F4550 setup

    Quote Originally Posted by scalerobotics View Post
    And if you are using a 4 or 8 mhz crystal, then you probably are not running at 48mhz.
    Now I'm using 20Mhz crystal...but still no display.

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