Display graphical font using Nokia3310LCD


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    You'll see a J once you'll add it in the character you want to use.... no coincidence why you don't have the H nor the W either

    Again it's all explained in the Readme.txt file...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Angry character not displaying correctly to the glcd

    I'm trying to display a 10x11 font size "w" but not displaying right to the lcd...(sorry if I'm very slow catching up )
    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
    								ADDCHAR 'T'
    								ADDCHAR 'E'
    								ADDCHAR 'X'
    								ADDCHAR 'a'
    								ADDCHAR 'b'
    								ADDCHAR '!' 
    								ADDCHAR CHR_NUMBERS
    								ADDCUSTOMCHAR CHR_CUSTOM_0,0x04,0x88,0x01,0x48,0x01
    								ADDCUSTOMCHAR CHR_CUSTOM_1,0x28,0x01,0x18,0x01,0x00
    								ADDCUSTOMCHAR CHR_CUSTOM_2,0x00,0x00,0x00,0x00,0x00
    								ADDCUSTOMCHAR CHR_CUSTOM_3,0x00,0x00,0x00,0x00,0x00
    								ADDCUSTOMCHAR CHR_CUSTOM_4,0x00,0x00,0x00,0x00,0x00
    						CHARTABLEEND
    					
    		ENDASM        
            
            '
            '------------------------------< Main program >---------------------------------------------
           ASM
            GLCD_CLS     ; Clear the screen (if not initialized yet, it will do automatically)
            GLCDOUT_AT?CHR 1,0,CHR_CUSTOM_0 
            GLCDOUT_AT?CHR 2,1,CHR_CUSTOM_1  ; Show String on Line 0
            GLCDOUT_AT?CHR 3,2,CHR_CUSTOM_2
            GLCDOUT_AT?CHR 4,3,CHR_CUSTOM_3
            GLCDOUT_AT?CHR 5,4,CHR_CUSTOM_4      
           ENDASM
    
    
    
    
    Here:
    
    
    GOTO Here   ' sit & spin   
            '
    Name:  GLCD_Font_Err4.gif
Views: 1951
Size:  56.0 KB

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    Code:
            '
            '       Includes
            '       ========                       
            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_CHAR_6X8
            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
                            ADDCHAR 'T'
                            ADDCHAR 'E'
                            ADDCHAR 'X'
                            ADDCHAR 'a'
                            ADDCHAR 'b'
                            ADDCHAR '!' 
                            ADDCHAR CHR_NUMBERS
                            ADDCUSTOMCHAR CHR_CUSTOM_0,0x78,0x80,0x60,0x18,0x60,0x80 ;
                            ADDCUSTOMCHAR CHR_CUSTOM_1,0x78,0x00,0x00,0x00,0x00,0x00 ;
                            ADDCUSTOMCHAR CHR_CUSTOM_2,0x00,0x01,0x00,0x00,0x00,0x01 ;
                            ADDCUSTOMCHAR CHR_CUSTOM_3,0x00,0x00,0x00,0x00,0x00,0x00 ;
                    CHARTABLEEND
                        
            ENDASM        
            
            '
            '------------------------------< Main program >---------------------------------------------
            ASM
                    GLCD_CLS     ; Clear the screen (if not initialized yet, it will do automatically)
                    GLCDOUT_AT?CHR 0,0,CHR_CUSTOM_0 
                    GLCDOUT_AT?CHR 1,0,CHR_CUSTOM_1  
                    GLCDOUT_AT?CHR 0,1,CHR_CUSTOM_2
                    GLCDOUT_AT?CHR 1,1,CHR_CUSTOM_3
                    GLCDOUT_AT?STR 5,6,"TEXT!"   
            ENDASM
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    Finally got it...thanks for the help.
    Name:  Nokia3310LCD.jpg
Views: 1743
Size:  60.9 KB

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    Way cool

    Thanks and Enjoy!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    Hi Tacbanon,

    Did you manage to create bigger fonts with Steve's program?

    I see your last post shows the display with obvious different font but still within the 6x8 field. How does one make a larger font exceeding this area?

    I'd appreciate your help and maybe a snippet of code if you've been successful. My aim is to make really big fonts (0-9, +, -, decimal point mid-height, C, F and degree symbol) in a 12x16 or 4 normal character size locations (7 chars per line, 3 lines) on the Nokia LCD using Steve's excellent wrapper. If it can't be done I can do other mapping but then lose Mister_e's utility.

    Steve if you're around perhaps you'd like to add some comments also? All help appreciated.

    Regards to all,
    Bill

  7. #7
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Display graphical font using Nokia3310LCD

    Hello Bill, sorry to tell you that I have not able to create a bigger fonts using Steve's GLCD...

    Regards,
    tacbanon

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts