I have searched the forums for an answer, but to no avail!! Am about to get a hammer out, but thought I'd send a message first!
I cannot get my display to work.
I am biasing Vo externally to -3.5V (onboard generator appears to have failed). Varying this all the way to -12V doesn't do a thing!
To send a command I do the following:
/CS =0, R/W=0, RS=1, E =0
Place instruction on bus
1us delay
E=1
1us delay
E=0
2ms delay
RS=0
Place data on bus
repeat toggling of E with same delays
Is this incorrect? Scoping the board out this is definitely what is being sent.
My question is:
What eactly do I have to send as initialisation codes? Can I just send MODE?
Currently I am sending the following (with the above timings):
INSTRUC. DATA
MODE (0x00) 0x2C (character, slave)
CHAR PITCH 0x87
NO.OF CHARS 0x13
TIME DIV 0x9F
CURSOR POS 0x07
DISP START LOW 0x00
DISP START HIGH 0x00
CURSOR START LOW 0x00
CURSOR START HIGH 0x00
I then attempt to write a digit to the screen:
WRITE(0x0C) 0x41 (letter 'A')
...and nothing happens!
Please help, I have downloaded the 160160_wintest directory but none of it makes sense (I am writing in plain C here).
Regards,
I cannot get my display to work.
I am biasing Vo externally to -3.5V (onboard generator appears to have failed). Varying this all the way to -12V doesn't do a thing!
To send a command I do the following:
/CS =0, R/W=0, RS=1, E =0
Place instruction on bus
1us delay
E=1
1us delay
E=0
2ms delay
RS=0
Place data on bus
repeat toggling of E with same delays
Is this incorrect? Scoping the board out this is definitely what is being sent.
My question is:
What eactly do I have to send as initialisation codes? Can I just send MODE?
Currently I am sending the following (with the above timings):
INSTRUC. DATA
MODE (0x00) 0x2C (character, slave)
CHAR PITCH 0x87
NO.OF CHARS 0x13
TIME DIV 0x9F
CURSOR POS 0x07
DISP START LOW 0x00
DISP START HIGH 0x00
CURSOR START LOW 0x00
CURSOR START HIGH 0x00
I then attempt to write a digit to the screen:
WRITE(0x0C) 0x41 (letter 'A')
...and nothing happens!
Please help, I have downloaded the 160160_wintest directory but none of it makes sense (I am writing in plain C here).
Regards,
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.