Page 1 of 1

Bitmap Ili9341!

Posted: Fri Mar 09, 2018 7:46 pm
by jgu1
Hi!
Need some help. I am playing with an ILI9341 display. I am trying to use the bitmap component, but no succes. Not in simulation and "real world".

I have searched here in the forum and looked at others' examples and Wiki. but no luck.

Can somebody give an advice or tell what I am doing wrong in my own example please. :wink:

Br Jorgen

Re: Bitmap Ili9341!

Posted: Fri Mar 09, 2018 10:53 pm
by gdt
Hello Jorgen,
I reduced to 120x120 pixels the bitmap and also set the gLCD_ILI9341 in BitmapDrawer properties and it works.
Try yourself.

Regards
Giuseppe

Re: Bitmap Ili9341!

Posted: Sat Mar 10, 2018 10:23 am
by jgu1
Hi Guiseppe!

Thank´s for care. But where are you adjusting the file length and file with and height, please. Because I am not able to do it in the properties.

Should I open it with some other app. and edit. Please tell how you did it. :wink:

Br Jorgen

Re: Bitmap Ili9341!

Posted: Sat Mar 10, 2018 12:57 pm
by EtsDriver
I personally use paint.net to do that! :) GIMP or similar might be good too.

Re: Bitmap Ili9341!

Posted: Sat Mar 10, 2018 7:45 pm
by jgu1
Hi both!

Sorry I didt¨n managed to get it work. First time I play with bitmap. :wink:

Should it be possible to se the picture in simulation?

I have installed the Paint.net and I am also able to adjust the with and height, but the file seem to be to large, is that the problem?

I have att. my edit bitmap. Zipped, otherwise I could not att. Could you try to have a look at it. Thanks in advance.

Br Jorgen.

Re: Bitmap Ili9341!

Posted: Sun Mar 11, 2018 12:43 am
by gdt
Hi,
I tested your last example without resizing the bitmap (SatelliteP1.bmp) and it works in simulation. Please note the BitmapDrawer settings circled in yellow as told already.
When I open your flowchart I don't see any settings.
Read also this post http://www.flowcode.co.uk/mmforums/viewt ... rom#p76051 to have more info on BitmapDrawer component.

To resize the bitmap just right click on the file and you should see an option "edit" which usually starts Paint, unless your default bitmap editor is set differently. Then you can easily resize to smaller image.
(To attach images to this forum just save as .png).
Hope it helps.

Regards
Giuseppe

P.S.: I attached the flowchart with my settings so you can test and compare.

Re: Bitmap Ili9341!

Posted: Sun Mar 11, 2018 9:38 am
by jgu1
Hi Giuseppe!

Thank´s for explanation I see the tread. Now It work for me. I am able to create all kind of bitmaps and they working. Thanks for help to all. :D

Br Jorgen.