MCU= 16F1519
GLCD = NHD-12864MZ (KS0108B based)
That display does not have a built-in character set. Since each ascii character is 5 to 8 bytes, the problem is how to address such a large table.
Peter Anderson described one method here: https://www.phanderson.com/PIC/16C84/mult_string.html
That method was used by a student for his thesis at the University of Cincinatti for creating a character set for that particular display (**broken link removed**), which I have gotten to run.
I am wondering about other alternatives, particulary ones that might use the enhanced mid-range PIC's capabilities.
One thought was to have each column of the ascii set in a separate table -- the offsets could be the ascii numbers. Another was to have a separate table for each ascii character and use bra. My goal is to retain the simplicity of the ascii set numbering for lookup and manual modification (if needed) and avoid having to do a more or less tedious calculation of the offset for each column of each character.
Has anyone compared the speed of the potential solutions to addressing that issue?
Related to this question of ascii characters, assuming a 5x7 character, is there any standardized practice related to putting a space above or below and before or after the character. My inclination is to put a one-pixel space above and before the character.
Regards,
John
BTW, I am spending more and more time in an Internet-free zone (aka, "The Farm") and find myself only going to McDonald's for e-mail once a day and civilization (Cleveland) twice a week. As such, my responses may be delayed.
GLCD = NHD-12864MZ (KS0108B based)
That display does not have a built-in character set. Since each ascii character is 5 to 8 bytes, the problem is how to address such a large table.
Peter Anderson described one method here: https://www.phanderson.com/PIC/16C84/mult_string.html
That method was used by a student for his thesis at the University of Cincinatti for creating a character set for that particular display (**broken link removed**), which I have gotten to run.
I am wondering about other alternatives, particulary ones that might use the enhanced mid-range PIC's capabilities.
One thought was to have each column of the ascii set in a separate table -- the offsets could be the ascii numbers. Another was to have a separate table for each ascii character and use bra. My goal is to retain the simplicity of the ascii set numbering for lookup and manual modification (if needed) and avoid having to do a more or less tedious calculation of the offset for each column of each character.
Has anyone compared the speed of the potential solutions to addressing that issue?
Related to this question of ascii characters, assuming a 5x7 character, is there any standardized practice related to putting a space above or below and before or after the character. My inclination is to put a one-pixel space above and before the character.
Regards,
John
BTW, I am spending more and more time in an Internet-free zone (aka, "The Farm") and find myself only going to McDonald's for e-mail once a day and civilization (Cleveland) twice a week. As such, my responses may be delayed.