Digital Code Lock With 3310 LCD
Thu Nov 11 2010, 12:26 pm
Hi majoka,
sprry, but I dont understand your last post..
Yes, I want to display a picture at the beginning. I configured it as shown before but for i am an absolutely newby I dont known how to give correct command to do this.
I tried lots of things I found in the www on uVision... didnt find the right way yet
sprry, but I dont understand your last post..
Yes, I want to display a picture at the beginning. I configured it as shown before but for i am an absolutely newby I dont known how to give correct command to do this.
I tried lots of things I found in the www on uVision... didnt find the right way yet
Thu Nov 11 2010, 12:41 pm
dear
have a look on this
http://www.lcdinterfacing.info/Nokia-3310-LCD-Interface.php
have a look on this
http://www.lcdinterfacing.info/Nokia-3310-LCD-Interface.php
Thu Nov 11 2010, 01:18 pm
I saw that before, but as its .asm I cant find a way to implement the source into the Keylock-source of you.
Do u have a link to tutorails or exaple codes?
thanx
Wawa
Do u have a link to tutorails or exaple codes?
thanx
Wawa
Thu Nov 11 2010, 03:28 pm
the library is for characters only not for bitmaps
for displaying a picture u has to generate a hex codes
for displaying a picture u has to generate a hex codes
Thu Nov 11 2010, 04:34 pm
I know,
I already did this.
I think, the right command to send the picture should be
//show startup logo
for(i=0; i<387; i++) spisend(logo_image[i]);
with logo_image defined in the attached *.c-file which is included in file main-file (Nokia3310.c) as attached
But I get Errors
NOKIA3310.C(151): error C249: 'DATA': SEGMENT TOO LARGE
When I delete the #include "dispaly.c" I get the Error
NOKIA3310.C(36): error C202: 'logo_image': undefined identifier
I think I make a very simple fault, right?!
I already did this.
I think, the right command to send the picture should be
//show startup logo
for(i=0; i<387; i++) spisend(logo_image[i]);
with logo_image defined in the attached *.c-file which is included in file main-file (Nokia3310.c) as attached
But I get Errors
NOKIA3310.C(151): error C249: 'DATA': SEGMENT TOO LARGE
When I delete the #include "dispaly.c" I get the Error
NOKIA3310.C(36): error C202: 'logo_image': undefined identifier
I think I make a very simple fault, right?!
Thu Nov 11 2010, 05:01 pm
hi
post ur complete folder then it will be easy to me to find out where is problem
post ur complete folder then it will be easy to me to find out where is problem
Thu Nov 11 2010, 05:27 pm
This is what Im trying to realize (in fact only using the 3310 LCD):
1 Starting up with an image until # pressed
2. "Enterlockcode" without asking for Mastercode and new Code (already working)
3. Code ok = P0_0 low (working) and Display image2 (not added yet)
5. until * pressed (reconfigured already)
If you tell me how to use theese images corrctly I think I can manage the rest...
Greetz
Wawa
1 Starting up with an image until # pressed
2. "Enterlockcode" without asking for Mastercode and new Code (already working)
3. Code ok = P0_0 low (working) and Display image2 (not added yet)
5. until * pressed (reconfigured already)
If you tell me how to use theese images corrctly I think I can manage the rest...
Greetz
Wawa
[ Edited Thu Nov 11 2010, 06:04 pm ]
Thu Nov 11 2010, 08:44 pm
you first have to generate an array like i did for my Rickey's World logo on LCD library (available in download section). you can make use of some LCD tool like FastLCD.
Download FastLCD here:
You need to adjust the lcd size as its a generic software. once this is done export the bitmap in .bas format. the you have to manually change that bas code to .c code format.
Its a little hectic job but there is no other way you can also make use of paid tools like LCDStudio which is much simpler. I suggest you try with LCDStudio first as it has simpler interface. download evaluation version and do your job
good luck. keep posted incase you face a problem.
Download FastLCD here:
You need to adjust the lcd size as its a generic software. once this is done export the bitmap in .bas format. the you have to manually change that bas code to .c code format.
Its a little hectic job but there is no other way you can also make use of paid tools like LCDStudio which is much simpler. I suggest you try with LCDStudio first as it has simpler interface. download evaluation version and do your job
good luck. keep posted incase you face a problem.
Powered by e107 Forum System