Shop OBEX P1 Docs P2 Docs Learn Events
JHD162A LCD Initialization — Parallax Forums

JHD162A LCD Initialization

ShaliniShalini Posts: 59
edited 2013-03-31 09:30 in Propeller 2
Hi everyone!

I'm using parallax propeller P8X3A-D40 with propeller tool software 1.3.2 to initialize the JHD162A LCD. I'm a beginner to SPIN language. I'm unable to write a SPIN code to initialize the lcd. Here are my pin connections from lcd to propeller:


LCD

P8X32A-D40



Vss

GND



Vcc

+5V



Vee (CONTRAST)

to middle pin of potentiometer (10k)



RS

P24



R/W

P25



E

P26



DB0

P16



DB1

P17



DB2

P18



DB3

P19



DB4

P20



DB5

P21



DB6

P22



DB7

P23




I know that for 8-bit mode (5x10 font style) Function Set is 0x3C
Display Switch is 0x0F (which issues Display,Cursor, and Blink as ON)
Input Set is 0x06
Screen Clear is 0x01
DDRAM AD set to reposition the cursor at Home at anytime is 0x80.

I'm really in urge to make my project work.... Can somebody please help me out on how to SPIN code the lcd.

Your help is greatly appreciated!!!
Thanks in advance

Comments

Sign In or Register to comment.