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

    Thank You ! ... I modifiy the code like in attachament, but now I have nothing on display ... After the line of code that I inserted it's need to put another's commands ? Only this single line it's not enough ?
    ( ..... Char = 18
    call PrintChar

    PosX=30 : PosY=1 : Gosub LCD_GotoXY

    if TempH > 99 then
    Char = 1
    call PrintChar
    else
    Char = 10 ' + plus
    if Predznak = 1 then Char = 11 ' - minus
    call PrintChar
    endif


    Char = (temph dig 1)
    call PrintChar

    Char = (temph dig 0)
    call PrintChar

    Char = 12
    call PrintChar

    Char = (temperature dig 3)
    Call PrintChar

    goto main )

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


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by fratello View Post
    Thank You ! ... I modifiy the code like in attachament, but now I have nothing on display ... After the line of code that I inserted it's need to put another's commands ? Only this single line it's not enough ?
    ( ..... Char = 18
    call PrintChar

    PosX=30 : PosY=1 : Gosub LCD_GotoXY

    if TempH > 99 then
    Char = 1
    call PrintChar
    else
    Char = 10 ' + plus
    if Predznak = 1 then Char = 11 ' - minus
    call PrintChar
    endif


    Char = (temph dig 1)
    call PrintChar

    Char = (temph dig 0)
    call PrintChar

    Char = 12
    call PrintChar

    Char = (temperature dig 3)
    Call PrintChar

    goto main )
    Please, take a look how I did with my accelerator demo application
    Nokia LCD with 3D-accelerometer.
    In this demo, I didn't use library file, but all relevant LCD routines are under "LCD stuff" section in the code (zip-file).

    You can always copy content of library to your code, if you have problems with included files.

    One line is enough, it is so simple

    BR,
    -Gusse-

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