Using Nokia LCD


Closed Thread
Results 1 to 40 of 301

Thread: Using Nokia LCD

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hi to all !
    Me again...with one new problem : I write the code attached, for 16F648A, because I want to display some graphics elements (see sus, rand 1, rand 2, rand 3, rand 4, jos) .But when I put the code in Microcode Studio I receive the message "Warn : Test_648.asm 790:[102] code crosses boundary @ 800h". I think the code it's too big; please give me some solution !!! I want that my display having one nice 'looking' and without the parts for graphics elements...What can I do ?
    Thanks in advance !
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    That is just a warning that you are crossing a boundary. All is good. How many bytes does it say you are using the lower left of microcode studio?
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

    Default

    This is what MicroCode Studio say :
    Attached Images Attached Images  

  4. #4
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by fratello View Post
    This is what MicroCode Studio say :
    Your code compiles OK (2932 words used). I don't understand what can be wrong with your setup? If you close and restart the MicroCode Studio, would that help? At least sometime that has helped me.

    To get rid of "code crosses boundary" goto tool bar:
    View -> Editor Options...
    In General sheet, select "Disable 'code crosses boundary' ASM warning.

    BR,
    -Gusse-
    Last edited by Gusse; - 5th May 2009 at 15:59.

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


    Did you find this post helpful? Yes | No

    Default

    The first one is about your config fuse. intrc_osc should be replaced by
    Code:
    INTRC_OSC_NOCLKOUT
    This one use the same config fuses as 16F628A & 16F627A. The complete list is in M16F62XA.inc file in pbp\inc folder.

    The second one is just a warning,
    http://picbasic.co.uk/forum/showthread.php?t=555&

    Can be bypass within MicroCode Studio.
    http://www.picbasic.co.uk/forum/show...66&postcount=2

    EDIT: Gusse, that's what happen when few people think the same thing at the same time
    Steve

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

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    Code is OK. May be you need a restart.

    Steve, the define is OK. It exists this too!

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default

    OK ! Thanks ! I just wait for the 16F648A...

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


    Did you find this post helpful? Yes | No

    Default

    I have the 648A. The code works just fine !
    ...but : I try to define anothers characters for display the temperature that I set ; the message is like in picture. How can I define anothers characters ?
    Thanks in advance !
    Attached Images Attached Images  
    Attached Files Attached Files

  9. #9
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default $2.95 glcd

    The Nokia 3310 display just became available at Sparkfun for $2.95 each. Pretty good price for what it can do! You can check it out here http://www.sparkfun.com/commerce/pro...oducts_id=9924. Here is the wiki page about interfacing it, based on posts in this thread: http://www.picbasic.co.uk/forum/cont...Nokia-3310-LCD
    Last edited by ScaleRobotics; - 5th June 2010 at 07:52.

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


    Did you find this post helpful? Yes | No

    Default @ PrintVar x,y, _anyvariable - example? Having problems...

    Hi Walter,

    Great job on your macro for the Nokia 3310 LCD, so much so that I think I'll move across to using these instead of the 16x2 I've been using everywhere so far. Thank you.

    I'm not having much luck getting the @ PrintVar x,y, _anyvariable to work though. I declare a word variable in my main program (j var word), give it a value to test (j=12345) then
    @ PrintVar 0,4, _j
    but only random values print and only 2 or 3 characters. Weird.

    Can you perhaps show me a working section of how to do it please? I'm using PbP 2.60, 18F252.

    Thanks and regards,
    Bill

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