Nokia lcd include , small footprint to suit pic16's


Closed Thread
Results 1 to 40 of 111

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

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

    Thanks for any help.

    please try to be gentle. Life is small and there are lots of good people out there.

    Have a nice day.

  2. #2
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

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

    Good day to all.

    I have two questions. One is related to this amazing library shared by Richard and the other one is related to a small project i have.

    1. May i add a picture to nokia LCD via the usercommand LCDDAT?

    For image data could i use the GLCD from Miktoelektronics?

    Code:
    ;##################################################################
     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
    2. Im working with some speed values. So range can be from 0 to infinity.

    How could i catch/retreive the highest value from a Variable? Is there any specific way - path to do that?

    thanks.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,146


    Did you find this post helpful? Yes | No

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

    Can you define infinity please?

    Your variables can be: bit (0-1), bytes (0-255), word (0-65535) and long (-2147483648 to 2147483647)

    Ioannis

  4. #4
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

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

    Quote Originally Posted by Ioannis View Post
    Can you define infinity please?

    Your variables can be: bit (0-1), bytes (0-255), word (0-65535) and long (-2147483648 to 2147483647)

    Ioannis
    Hi Ioanni, thanks for the reply.

    Speed is not going to exceed any value more than a logical speed targeting to a bicycle or a car. In that case as i understand we could use "word" variable.

    But there is no specific value as a limit. It can be any possible number that a variable may have.

    thanks in advance.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,146


    Did you find this post helpful? Yes | No

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

    Maybe the MAX operator can do what you want.

    Your check loop can be something like this:

    max_value = old_speed MAX speed

    old_speed = max_value

    But this will lead eventually to a top value on max_value and you may have to reset this value. Don't know what you try to accomplish but a periodic reset may be needed.

    Ioannis

  6. #6
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

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

    Thanks Ioanni,

    i will try the MAX operator.

    What i'm trying to export is the maximum speed value of a single run.

    As i'm not in my home computer right now i will try your advice later today.

    Many thanks.

  7. #7
    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

    For image data could i use the GLCD from Miktoelektronics?
    i did look at the array generated by Mikroelektronics glcd bitmap generator and
    it seems i rejected it for that generated by lcdassistant, cannot recall why.
    none of my posted examples use mokroe files . they would all need a bit of
    work to leverage into pbp anyway


    1. May i add a picture to nokia LCD via the usercommand LCDDAT?
    the LCDDAT sends 1 byte to the lcd @ the current cursor posn
    it would not be the most efficient way to upload an image.
    i saw no way to read pixel data back from the display so i decided that the only way to
    create a decent bitmapped image function was using a frame buffer. this i have implemented
    in the c version as posted.
    implementing this function in pbb is not something i'm willing to invest the time into
    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