View previous topic :: View next topic |
Author |
Message |
rret Guest
|
how to print '' char to LCD |
Posted: Tue Mar 04, 2003 12:27 pm |
|
|
with a HD44780-based LCD, how does one print the \ char?
i tried "\\" but a weird different char printed out instead.
any ideas?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12339 |
|
|
Shane Rowell Guest
|
Re: how to print '' char to LCD |
Posted: Tue Mar 04, 2003 12:44 pm |
|
|
:=with a HD44780-based LCD, how does one print the \ char?
:=i tried "\\" but a weird different char printed out instead.
:=any ideas?
I think that you need to look at the character table. I believe that it is slightly diferent than the standard ascii table.
Shane
___________________________
This message was ported from CCS's old forum
Original Post ID: 12341 |
|
|
Robert Holmer Guest
|
Re: how to print '' char to LCD |
Posted: Wed Mar 05, 2003 1:24 am |
|
|
:=with a HD44780-based LCD, how does one print the \ char?
:=i tried "\\" but a weird different char printed out instead.
:=any ideas?
If the "\" is not implemented in the standard character ROM it is possible to design your own character and put it into the CGRAM. To print it out one has to write another character which corresponds to the address in CGRAM or write a function which translates ASCII (or whatever) code to the code for your display.
Best wishes,
Rob
___________________________
This message was ported from CCS's old forum
Original Post ID: 12358 |
|
|
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
|
Re: how to print '' char to LCD |
Posted: Wed Mar 05, 2003 1:53 pm |
|
|
:=with a HD44780-based LCD, how does one print the \ char?
:=i tried "\\" but a weird different char printed out instead.
:=any ideas?
I use this for a character resource
/*-------------------------------------------------------------------
Character resource
!"#$\%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]
^_`abcdefghijklmnopqrstuvwxyz{|}~
-------------------------------------------------------------------*
___________________________
This message was ported from CCS's old forum
Original Post ID: 12387 |
|
|
|