With this 2x16 LCD display, the 0x0C (display On) and 0x08 (display Off) work OK.
However, the Cursor On/Off control (the 0x02 bit) seems to do nothing.
Likewise, the Blink-Character control (the 0x01 bit) seems to do nothing.
I want to use the Cursor to edit the displayed text.
If this LCD has no cursor or character-blink, what display does?
Thanks, Gary
EDIT: The Mbed library does not actually set the LCD's address when its
locate function is called, so the Cursor could not be seen.
I added a SetColRow routine, then my SetOnOff routine worked to turn
the Cursor and Blink On and Off.
With Mbed TextLCD lib, LCD (PID 181) has no cursor?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- garygid
- Posts: 3
- Joined: Thu Jun 28, 2012 9:05 pm
With Mbed TextLCD lib, LCD (PID 181) has no cursor?
Last edited by garygid on Fri Jun 29, 2012 3:59 pm, edited 2 times in total.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: LCD (PID 181) has no cursor?
hi what code, specifically, are you using? we test the LCDs with the arduino LiquidCrystal Library - can you try that?
- garygid
- Posts: 3
- Joined: Thu Jun 28, 2012 9:05 pm
Re: LCD (PID 181) has no cursor?
Does that mean that this 181 display DOES have (should have) an underline cursor,
and the blinking-character "cursor"?
If so, I will look at the Arduino LC Library.
Perhaps the simple Mbed TextLCD library does not position the Cursor
like I thought it would. I will check that out. THANKS
This LCD does not match the pictures,... no silkscreen of the meaning of the 16 pins
on the back side.
and the blinking-character "cursor"?
If so, I will look at the Arduino LC Library.
Perhaps the simple Mbed TextLCD library does not position the Cursor
like I thought it would. I will check that out. THANKS
This LCD does not match the pictures,... no silkscreen of the meaning of the 16 pins
on the back side.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: LCD (PID 181) has no cursor?
sounds like there's a problem with MBED's library. all char LCDs should have cursors
- garygid
- Posts: 3
- Joined: Thu Jun 28, 2012 9:05 pm
Re: LCD (PID 181) has no cursor?
Yes, the Mbed TextLCD library did not actually set the address when I thought it would.
I added a SetColRow routine and then called that before calling my SetOnOff
routine. Now the Cursor and Blink both work.
Thanks for your kind help.
I added a SetColRow routine and then called that before calling my SetOnOff
routine. Now the Cursor and Blink both work.
Thanks for your kind help.
Please be positive and constructive with your questions and comments.