PIC 16f877A LCD problem!


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    I see a couple of problems.
    R/W from the LCD should go to ground(zero).
    Looking at your defines again the following is not a define.
    Code:
    DEFINE LCD_RWREG PORTE
    DEFINE LCD_RWBIT 2
    Take a look at this page and connect the LCD that way, 8 bit bus setup does not gain you much, but cost four pins, so go with 4 bit bus.
    http://www.rentron.com/PICX1.htm

    Then go here to see how the defines should be setup.
    http://www.rentron.com/PICX2.htm

    Let us know how it goes.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    May 2010
    Posts
    19

    Default

    Thanks alot for the advices guys. =) But i found what the problem was. Actually the connections in my board were disturbed. LCD is working fine now =). Will post in case of any problem.


    THANKS AGAIN =).

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