Nokia lcd include , small footprint to suit pic16's


Closed Thread
Results 1 to 40 of 111

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    extract from .lst , it all looks good yet the font is not there.

    Code:
     114                           	psect	text
       115  3E00                     	org	15872	;# 
       116  3E00                     
       117                           ;# 
       118  3E00  0501 207F          	dw	1281,8319	;# 
       119  3E02  0000 0000 0000 005F 0000 	dw	0,0,0,95,0	;# 
       120  3E07  0007 0007 0014 3F94 3F94 	dw	7,7,20,16276,16276	;# 
       121  3E0C  122A 3FAA 0923 0988 3262 	dw	4650,16298,2339,2440,12898	;# 
       122  3E11  1B49 2AA2 2800 0283 0000 	dw	6985,10914,10240,643,0	;# 
       123  3E16  001C 1141 0000 20A2 0E00 	dw	28,4417,0,8354,3584	;# 
       124  3E1B  0A08 1F08 0A08 043E 0408 	dw	2568,7944,2568,1086,1032	;# 
       125  3E20  0050 1800 0008 0408 0408 	dw	80,6144,8,1032,1032	;# 
       126  3E25  0060 3000 0020 0808 0202 	dw	96,12288,32,2056,514	;#
    Attached Images Attached Images  
    Warning I'm not a teacher

  2. #2
    Join Date
    Aug 2005
    Location
    Michigan, USA
    Posts
    224


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    That's wierd. The tables show up in the LST file and in the HEX file but not in the Program Memory window...

    Ok, section 6.2.9.3.4 in the XC8 User's Guide describes the PSECT "delta" parameter and as soon as I changed the parameters from "delta=2" to "delta=1" my two font tables showed up in the Program Memory window and my TBLPTR test code started working correctly in the simulator... Whew!
    Last edited by Mike, K8LH; - 4th July 2018 at 06:26.

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    test code started working correctly in the simulator... Whew!
    I agree , you would think writing word sized data would need delta=2.

    my brain hurts but it solves the problem , thanks mike
    Warning I'm not a teacher

  4. #4
    Join Date
    Aug 2005
    Location
    Michigan, USA
    Posts
    224


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    You're very welcome, Sir. And thank you for all the help and hard work you've provided.

    BTW, I'm liking this 128x32 I2C SSD1306 OLED display a lot... With built-in RAM for a 128x64 display, you can basically have two display screens. You can write data to one screen while displaying the other then toggle the display screen. Should make easy work for cursor characters, flashing colon characters for a clock, or displaying "odometer" type sliding numbers.
    Attached Images Attached Images  

  5. #5
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    This thread is being here for couple of years.

    Thanks those guys which spent their time for this really nice work.

    I'm trying to find a way to combine this low cost nokia lcd display to heart rate monitor project with MAX30102.

    Has anyone tried the code with PIC18F?

    I tried the first demo code and it looks like is working.

    Then i tried the code given in #36 , (Richard shared once again) and i cant make it work. It was late at night and i tired enouph to check if i have set everything as required.

    I will give it a go today again.

    If there is a new version for pic18f's will be nice if anyone could share it.

    Many thanks in advance.

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    looks like i made a later version , did not try it with a pic18 but the code is written to use either 16's or 18's
    pic18 probably needs the pic18 version of the font
    Attached Files Attached Files
    Warning I'm not a teacher

  7. #7
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    Hi Richard,

    thanks for the updated files.

    I have tried the new inc and got the following errors. (used PIC18f46k22)

    Is there a way i could fix those?

    Name:  error.png
Views: 6865
Size:  15.8 KB

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. 16F946 pcb footprint (64 tqfp)
    By nomad in forum Schematics
    Replies: 2
    Last Post: - 8th September 2009, 11:14
  3. small 2X16 LCD
    By Ron Marcus in forum Off Topic
    Replies: 2
    Last Post: - 26th October 2007, 20:37
  4. Nokia 3310 LCD
    By barkerben in forum General
    Replies: 3
    Last Post: - 10th December 2005, 19:08
  5. Small LCD module,character
    By Ron Marcus in forum Off Topic
    Replies: 6
    Last Post: - 27th November 2005, 18:13

Members who have read this thread : 3

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