Using Nokia LCD


Closed Thread
Results 1 to 40 of 301

Thread: Using Nokia LCD

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Odd compile error...

    (I see this thread is quite inactive, maybe that means there is another more active ??)

    I am trying out Steves code for driving a 5110 screen (bought here http://dx.com/p/arduino-1-6-lcd-disp...-silver-140226 )
    It works very well, except for one of his examples. In the more complex example called 'USINGGLCDOUT_CMD_16F---' I get an error during compiling, and I've tried a few tricks but nothing has got passed it (I modified it for a 16F819, but other than the pic specific configs and the pins I chose use nothing else is changed).

    Here it is.
    PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
    All Rights Reserved.
    [ERROR] usingglcdout_cmd_16f819.pbp (57) : Reading DEFINE Block

    it comes from this define I think (which works fine in the other less complex examples about using variables and constants).
    DEFINE GLCD_2DEC_USED
    INCLUDE "..\Include\GLCD_NOKIA.PBP" ' Plug the Nokia Driver/Wrapper in here

    If I remark out the define I get this when I compile.
    PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
    All Rights Reserved.
    [ASM ERROR] USINGGLCDOUT_CMD_16F819.ASM (562) : ERROR: (Seems you forgot to add DEFINE GLCD_2DEC_USED to your code...)
    Which you'd expect.

    I can post up the whole example code if anyone wants, but it's right out of Steve's examples.
    I'm wondering if it's something to do with PBP3.

    Anyone got a clue ?
    Keeping in mind that his other examples compile and run fine, and I tried his code with and without my config and pin changes..

    Martin
    Last edited by mr.sneezy; - 27th February 2013 at 09:07.

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


    Did you find this post helpful? Yes | No

    Default Re: Odd compile error...

    Hi Martin,

    Did you receive an answer from Steve on this? Is there another thread?

    Cheers,
    Bill

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


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    @ mister_e

    Steve,

    Firstly thanks for all the hard work you put into making the Nokia 3310 Glcd a success. I've only recently discovered it and now use the library a lot.

    May I ask for some advice on how to implement a change from only displaying dec characters to include hex? I've been through the samples and documentation but I don't see anything. Unfortunately I don't have an asm skills yet.

    If this has been achieved by other users or appears elsewhere I'd appreciate some guidance. No rush.

    Kind regards,
    Bill

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Old thread ... but nice !
    This is my last soft & hard for interfacing with Nokia display : termo-clock.
    Enjoy !

    Name:  final_termo_clock.jpg
Views: 2705
Size:  282.7 KB
    Attached Files Attached Files

  5. #5
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Nice.
    Can you post proteus and pbp files?

  6. #6
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Sure .... Enjoy !
    Attached Files Attached Files

  7. #7
    Join Date
    Sep 2014
    Posts
    1


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    • could you attach circuit diagram for your final version termo clock .
      Thanks in advance !!!





  8. #8
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Yes, this is it !
    Name:  new_CLK_2014.BMP
Views: 2610
Size:  88.8 KB

Similar Threads

  1. Nokia COLOR LCD PicBasicPro 2.50a example code
    By skimask in forum Code Examples
    Replies: 49
    Last Post: - 28th September 2011, 02:43
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

Members who have read this thread : 1

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