Using Nokia LCD


Closed Thread
Results 1 to 40 of 301

Thread: Using Nokia LCD

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default 3310_lcd_code_lock

    i am new in pbp i want this schematic code in pbp
    and step by step detail this code for learning purpose
    plz any body help me

    Thanks
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default If you really want to learn...

    Quote Originally Posted by tahirmaqsood View Post
    i am new in pbp i want this schematic code in pbp
    and step by step detail this code for learning purpose
    plz any body help me

    Thanks
    Here you go....

    Step 1: Don't ask people to write all your code for you and expect to learn a thing from it.
    Step 2: Read the manual.
    Step 3: If the project is over your head, start with something you can do, with some work.
    Step 4: Blink some LED's to start off, then try progressing to bigger projects.
    Step 5: Take a look at http://www.picbasic.co.uk/forum/showthread.php?t=12677 for inspiration. Someone working hard and learning fast.

    With time and effort, you will be able to return to the project you are yearning for.

    Walter
    http://www.scalerobotics.com

  3. #3
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: If you really want to learn...

    hello all,

    i'm trying to compile a program based on 16f628a and nokia LCD 3310.

    I'm trying to right a simple program just to print a HELLO WORLD on the nokia LCD but no luck.

    My problem is that when i try to INCLUDE "LCD_3310v4.inc" i get an error that cannot open the inc file.

    Also when i open the file in the microcode studio (the LCD_3310v4.inc file) i get the error "Symbol not previously defined EEADRH"

    Do you have any suggestion please?

    many thanks for your help in advance.

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


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    This is causing your EEADRH problem.
    Code:
    Readcode Addr, Char
    Easiest way to go forward is comment or remove following parts of the code:
    Code:
    @ printstr macro function from Darrel and edited to work for this lcd
    'format should look like this: @ PrintStr x,y, "your text string goes here"
    Meaning StringOut and ASM-part above it.
    This is disabling string printing function, so you should figure out other ways to put stuff on LCD.

    Those who know better why READCODE doesn't work with 628A could answer to you.
    Even better if some workaround is available.

    BR,
    -Gusse-
    Last edited by Gusse; - 2nd June 2011 at 22:52. Reason: Just editing

  5. #5
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Hi Gusse,

    thanks for your answer. That means that when i also get an error "cannot open inc file" the time i try to compile, it has to do with the 628a?

    Sorry for my silly question but cannot understant why is not compatible.

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


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Is your inc-file in the same folder where you have your main pbp-file?
    Code:
    INCLUDE "LCD_3310v4.inc"
    If no, then you should include path to file before inc-file.
    If yes, then I don't know why you get this error message. Is syntax or file name OK?

    I think, it has nothing to do with 628A.

    BR,
    -Gusse-

  7. #7
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    it is in the same folder.

    I will try once more. the code and the syntax are also ok.

    thanks for your time.

    If i have any news i will let you know.

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 : 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