Hi,
I usally work with LCD display 4x20. GSB supports in lcd.h only the 2x16 types. My display needs an additional initialisation.
I have to send some binary code to the lcd control register.
Is there any possibility to solve that problem?
Juergen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use a 20x4 lcd all the time with no problems. If I remember right the Hitachi controller has one 40 byte wide register or times two for the four line display. I helped out on a 16x4 display in this post. The locate command must be used on the four line display, because the controller registers are interleaved by lines 0 & 2, and 1 & 3, is that what you mean?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using a 20x4 Display from ELECTRONIC ASSEMBBLY using a Controller KS0073, similiar to HD44780. In my assembler programs I used a special sequence for initialising that display. For this type of display I included a code for "extended function set".
I tried to change the initialisation sequence in lcd.h, but I failed.
Juergen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've learned, that I can use that "LCDWriteChar" command from lcd.h in my own programs.
I tested your test program, but i could only write characters into my display. I need to write command words to the Display to change to ext. function set.
So I tried the following:
Print "100"
SET LCD_RS OFF
LCDWriteChar (B'11100100')
LCDWriteChar (B'11110100')
SET LCD_RS ON
Print " "
But the codes B'11100100' and b'11110100' came as charakters to the display, not as control commands.
Is there any possibility to write control commands to the display???
Juergen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some questions get an answer while writing them into a forum….
I found that command WriteLDCByte in lcd.h. So I can write commands to the display. It works, but I'm not yes satisfied. So I go on with try ans error….
Juergen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ooops, I mistook the "extended char set" of the Hitachi for your KS0073 "extended function set" in my example. I see where the confusion was after taking a quick peek at the KS0073 data sheet. Not exactly what you would call a clone.
I see they have layed out a pretty could example with the initialization, timimg, and function commands. Sounds like you have some display output going, so that's good. Best of luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I usally work with LCD display 4x20. GSB supports in lcd.h only the 2x16 types. My display needs an additional initialisation.
I have to send some binary code to the lcd control register.
Is there any possibility to solve that problem?
Juergen
I use a 20x4 lcd all the time with no problems. If I remember right the Hitachi controller has one 40 byte wide register or times two for the four line display. I helped out on a 16x4 display in this post. The locate command must be used on the four line display, because the controller registers are interleaved by lines 0 & 2, and 1 & 3, is that what you mean?
I'm using a 20x4 Display from ELECTRONIC ASSEMBBLY using a Controller KS0073, similiar to HD44780. In my assembler programs I used a special sequence for initialising that display. For this type of display I included a code for "extended function set".
I tried to change the initialisation sequence in lcd.h, but I failed.
Juergen
Looks like it is there for you in lcd.h by using LCDWriteChar. For testing:
Thanks, Kent.
I've learned, that I can use that "LCDWriteChar" command from lcd.h in my own programs.
I tested your test program, but i could only write characters into my display. I need to write command words to the Display to change to ext. function set.
So I tried the following:
Print "100"
SET LCD_RS OFF
LCDWriteChar (B'11100100')
LCDWriteChar (B'11110100')
SET LCD_RS ON
Print " "
But the codes B'11100100' and b'11110100' came as charakters to the display, not as control commands.
Is there any possibility to write control commands to the display???
Juergen
Some questions get an answer while writing them into a forum….
I found that command WriteLDCByte in lcd.h. So I can write commands to the display. It works, but I'm not yes satisfied. So I go on with try ans error….
Juergen
Ooops, I mistook the "extended char set" of the Hitachi for your KS0073 "extended function set" in my example. I see where the confusion was after taking a quick peek at the KS0073 data sheet. Not exactly what you would call a clone.
I see they have layed out a pretty could example with the initialization, timimg, and function commands. Sounds like you have some display output going, so that's good. Best of luck.