1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

[PIC] Timer1 used as a 1.024ms delay me thinks... (code sample attached)

Discussion in 'Microcontrollers' started by William At MyBlueRoom, Jan 16, 2007.

  1. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,320
    Likes:
    653
    Location:
    Derbyshire, UK
    ONLINE
    0x08 :D

    You might try consulting the EPE LCD guide?, it's an excellent introduction to LCD's.

    If you check my initialisation above, you have to send 0x20 first, this switches the LCD to 4 bit mode, then you can send 0x28 which sets the rest of that byte up - you can't just send that in the first place, as the lower nibble would be ignored until it's in 4 bit mode.
     
    Last edited: Jan 21, 2007
  2. eng1

    eng1 New Member

    Joined:
    Apr 7, 2006
    Messages:
    951
    Likes:
    19
    Location:
    Italy
    I have a printed copy of the datasheet of the Hitachi 44780 controller. The images on the second link you've posted are copied from there.
    You can find the instructions set in the datasheet.
     

Share This Page