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.
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.
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?
2. Im working with some speed values. So range can be from 0 to infinity.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
How could i catch/retreive the highest value from a Variable? Is there any specific way - path to do that?
thanks.
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.
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
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.
i did look at the array generated by Mikroelektronics glcd bitmap generator andFor image data could i use the GLCD from Miktoelektronics?
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
the LCDDAT sends 1 byte to the lcd @ the current cursor posn1. May i add a picture to nokia LCD via the usercommand LCDDAT?
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
Bookmarks