Nokia lcd include , small footprint to suit pic16's - Page 3


Results 81 to 111 of 111

Threaded View

  1. #11
    Join Date
    May 2013
    Location
    australia
    Posts
    2,656


    Did you find this post helpful? Yes | No

    Default Re: Nokia lcd include , small footprint to suit pic16's

    i will start here
    My problem is that i need this floating number for ex. speed = 50,86 to get it as an integer speed = 5086. May i have your help please?
    you do it exactly the same way as for a lcd display

    Code:
    buff var byte[6] ; 4dig+dp+null
    speed var word
    ARRAYWRITE buff,[dec2 speed/100,".",dec2 speed//100 ,0]
    LCDSTR x,y, buff
    LCDSTR x,y, speed
    does not accept word.
    correct lcdstr str buffer var ,const str

    from the inc file
    ;################################################# #################
    USERCOMMAND "LCDC" ;X,Y,CHR 0 < X < 84 , 0 < Y < 7 , 31 < CHR > 127
    USERCOMMAND "LCDCLR" ;clear LCD
    USERCOMMAND "LCDSTR" ;STRING @ X,Y or Constant String
    USERCOMMAND "LCDCMD" ;cmd BYTE TO LCD
    USERCOMMAND "LCDDAT" ;DATA BYTE TO LCD

    i might preempt the next question
    leading zero's and right justifying fields

    http://support.melabs.com/forum/picb...strtok-usercmd
    Last edited by richard; - 4th September 2020 at 11:03.
    Warning I'm not a teacher

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. 16F946 pcb footprint (64 tqfp)
    By nomad in forum Schematics
    Replies: 2
    Last Post: - 8th September 2009, 11:14
  3. small 2X16 LCD
    By Ron Marcus in forum Off Topic
    Replies: 2
    Last Post: - 26th October 2007, 20:37
  4. Nokia 3310 LCD
    By barkerben in forum General
    Replies: 3
    Last Post: - 10th December 2005, 19:08
  5. Small LCD module,character
    By Ron Marcus in forum Off Topic
    Replies: 6
    Last Post: - 27th November 2005, 18:13

Members who have read this thread : 3

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