Using Nokia LCD


Results 1 to 40 of 301

Thread: Using Nokia LCD

Threaded View

  1. #33
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: Using Nokia LCD

    Your PIC cannot use READCODE command.
    READCODE: Some PIC16Fxxx and PIC18Xxxxx devices allow program code to be read at run-time. This may be useful for additional data storage or to verify the validity of the program code.
    .MAC -file contains:
    Code:
    READCODE?TB macro Regin, Bitin, Bout
            MOVE?TB Regin, Bitin, EEADR
        clrf    EEADRH
            L?CALL  READCODE
            MOVE?AB Bout
        endm
    READCODE_USED = 1
    And if you check from PIC16F627A/628A/648A datasheet, there is no EEADRH register in the these PICs (reason for error). Therefore you cannot use Scalerobotics (Walter's) great addon (=@ PrintStr) as it is now.

    Also other note about READCODE
    For PIC16F devices, 14-bit-sized data can be read from word code space Addresses.
    Code:
    Addr  VAR WORD
    Variable cannot be WORD.

    Easiest is to change to some other PIC, which support READCODE (e.g 16F8/74A/76A etc...) and which have also more code space

    BR,
    -Gusse-
    Last edited by Gusse; - 15th June 2011 at 08:39.

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

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