Using Nokia LCD


Results 1 to 40 of 301

Thread: Using Nokia LCD

Threaded View

  1. #11
    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 08:07.

Similar Threads

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

Members who have read this thread : 2

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