LCD Bitmaps

22 Jan 2010

Hi Everyone,

I'm trying to display a bitmap on the Nokia LCD screen. The mobileLCD library allows for a single pixel to be displayed so i'm guessing that a bitmap can be displayed?

Any ideas anyone on this?

Martin

22 Jan 2010

Hi there.

http://www.reifel.org/PICUserInterface/ Has a good tutorial about displaying various different fonts as well as bitmaps on the display. However, he doesn't use the MobileLCD code as he isn't coding for the mbed, but the techniques can be applied to your code.

I'm looking at changing or more precisely enhancing the MobileLCD to be able to cope with bitmaps, circles, boxes and different size fonts.

Regards

Jim

22 Jan 2010 . Edited: 22 Jan 2010

On the link that I provided, there is an excellent PDF detailing how the displays work for the different drivers.

http://www.sparkfun.com/tutorial/Nokia%206100%20LCD%20Display%20Driver.pdf

I recommend printing it out and reading.

23 Jan 2010

Thanks James, I'll have a read through it over the weekend

23 Jan 2010

This could either be a specific problem with my code for displaying on the mobile LCD or a generic C++ problem.

On compilation I keep getting an error :"Object of abstract class type "MobileLCD" is not allowed: (E322)" in file "NewMobileLCD/main.cpp"

However, if I add the lines :

virtual int _putc(int c); virtual int _getc(){ return 0; }

It works, it compiles without that error (currently complains about a lot more, but that is my code).
Can anyone enlighten me? Cheers.

 

 

26 Jan 2010 . Edited: 26 Jan 2010

Bypassed the above problem. Now I have amended the MobileLCD class to be able to display circles, boxes and lines in any direction, just need to be able to display more than one size of character.I have 3 different sized character sets and need to find out how precisely the bitblit works to use these additional fonts.

09 Feb 2010

Dear James,

Your modified library is public? I would like to display different sized characters also.

Thanks

Peter

02 Jul 2010

Sorry for a very late reply to your post, but haven't had time recently to get onto mbed.org.

Here's my current project which I hope to spend time on soon published http://mbed.org/users/jigr69/programs/NewMobileLCD

28 Oct 2010 . Edited: 28 Oct 2010

My Nokia LCD 6610 LCD, that i bought from Olimex only worked with the driver from James Grant (thanks for the help) (http://mbed.org/users/jigr69/programs/NewMobileLCD/5zaud/docs/).

To all of you, having problems with this LCD try this driver.