Continue to Site

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.

  • 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.

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

Status
Not open for further replies.
William At MyBlueRoom said:
Which datasheet do you use?

What is the difference to an LCD between 0x28 and 0x20?

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:
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.
 
Status
Not open for further replies.

Latest threads

Back
Top