I'm still stuck with this simple code I modified from Steve's NokiaGlcd examples..
Code:
DEFINE GLCD_CHAR_IN_EEPROM ' store/read character/lookuptable to/from EEPROM
DEFINE GLCD_STRING_IN_EEPROM ' store/read string to/from EEPROM
DEFINE GLCD_USE_SPECIFIC_CHARACTER ' We will define our own set of character to be used
INCLUDE "..\Include\GLCD_NOKIA.PBP" ' Plug the Nokia Driver/Wrapper in here
ASM
CHARTABLESTART
ADDCUSTOMCHAR CHR_CUSTOM_0, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
ADDCHAR 'e'
ADDCHAR 'l'
ADDCHAR 'o'
ADDCHAR 'w'
ADDCHAR 'r'
ADDCHAR 'd'
ADDCHAR '!'
CHARTABLEEND
ENDASM
'
'------------------------------< Main program >---------------------------------------------
'
ASM
GLCD_CLS ; Clear the screen (if not initialized yet, it will do automatically)
GLCDOUT_AT?STR 0,0,"Hello World!" ; Show String on Line 0
GLCDOUT_AT?STR 0,1,"Wello World!" ; Show String on Line 1
GLCDOUT_AT?STR 0,2,"j" ; Show String on Line 2
ENDASM
Here:
GOTO Here ' sit & spin
as I understood characters not defined within CHARTABLESTART and CHARTABLEEND will not be displayed...but I'm still having trouble displaying this character (j) 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
any idea what I'm missing?
regards,
tacbanon
Bookmarks