Discussion in "Project Addition or Changes" started by    tahirmaqsood    Sep 26, 2010.
Thu Nov 11 2010, 10:54 am
#41
ru want to display picture on lcd
the above link is working here
Thu Nov 11 2010, 12:26 pm
#42
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

Thu Nov 11 2010, 12:41 pm
#43
dear
have a look on this
http://www.lcdinterfacing.info/Nokia-3310-LCD-Interface.php
Thu Nov 11 2010, 01:18 pm
#44
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
Thu Nov 11 2010, 03:28 pm
#45
the library is for characters only not for bitmaps
for displaying a picture u has to generate a hex codes
Thu Nov 11 2010, 04:34 pm
#46
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?!



Attachment
Thu Nov 11 2010, 05:01 pm
#47
hi
post ur complete folder then it will be easy to me to find out where is problem
Thu Nov 11 2010, 05:23 pm
#48
Thank u so much!

Here u are
Thu Nov 11 2010, 05:27 pm
#49
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



[ Edited Thu Nov 11 2010, 06:04 pm ]
Thu Nov 11 2010, 08:44 pm
#50
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.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am