Page 5 of the documentation for the display shows how to define custom characters and display them. The display controller can hold up to 8 custom 5 x 8 pixel character definitions.
Page 5 of the documentation for the display shows how to define custom characters and display them. The display controller can hold up to 8 custom 5 x 8 pixel character definitions.
I should have been posted my code.
This works-
SEROUT LTX, LcdBaud, [Lcdline2,"a"]
This doesn't-
[code]
SEROUT LTX, LcdBaud, [Lcdline2,"
If your getting the top row as your output (asc II Extended set 128-255) but want to display the bottom characters (asc II 0-127) just subtract 128 from your asc number.
Look here for the ASCII and Extended ASCII character sets.
ASCII is a character set that does not include the accented characters. Extended ASCII adds the accented characters, some graphics pieces, and other stuff. ASCII uses byte values 0-127 while Extended ASCII uses 0-255. All modern operating systems use Extended ASCII or further extended character sets for their display fonts to handle non-Roman alphabets better. The serial LCD uses ASCII. You have to use the custom characters for any accented characters.
If you must display accented characters from the Extended ASCII character set, you have to go through the characters being sent to the display, test for any with values > 127, and translate them into a 10 character sequence that would first send the font for the character to the display as a custom character, followed by the custom character itself. There is no way to automatically translate the Extended ASCII characters to something displayable.
Look here for the ASCII and Extended ASCII character sets.
ASCII is a character set that does not include the accented characters. Extended ASCII adds the accented characters, some graphics pieces, and other stuff. ASCII uses byte values 0-127 while Extended ASCII uses 0-255. All modern operating systems use Extended ASCII or further extended character sets for their display fonts to handle non-Roman alphabets better. The serial LCD uses ASCII. You have to use the custom characters for any accented characters.
If you must display accented characters from the Extended ASCII character set, you have to go through the characters being sent to the display, test for any with values > 127, and translate them into a 10 character sequence that would first send the font for the character to the display as a custom character, followed by the custom character itself. There is no way to automatically translate the Extended ASCII characters to something displayable.
Thank you for the explanation. That makes perfect sense. I will test it in the code.
Comments
I should have been posted my code.
This works-
This doesn't-
[code]
SEROUT LTX, LcdBaud, [Lcdline2,"
[code]
ASCII is a character set that does not include the accented characters. Extended ASCII adds the accented characters, some graphics pieces, and other stuff. ASCII uses byte values 0-127 while Extended ASCII uses 0-255. All modern operating systems use Extended ASCII or further extended character sets for their display fonts to handle non-Roman alphabets better. The serial LCD uses ASCII. You have to use the custom characters for any accented characters.
If you must display accented characters from the Extended ASCII character set, you have to go through the characters being sent to the display, test for any with values > 127, and translate them into a 10 character sequence that would first send the font for the character to the display as a custom character, followed by the custom character itself. There is no way to automatically translate the Extended ASCII characters to something displayable.
Thank you for the explanation. That makes perfect sense. I will test it in the code.
http://forums.parallax.com/showthread.php?139146-Robot-Arm-Printer-Project&p=1088889&viewfull=1#post1088889