Bitmap Ili9341!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Bitmap Ili9341!

Post 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
Attachments
Test.zip
(17.58 KiB) Downloaded 198 times

gdt
Posts: 71
Joined: Thu Aug 10, 2017 2:04 pm
Has thanked: 25 times
Been thanked: 36 times
Contact:

Re: Bitmap Ili9341!

Post 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
Attachments
Properties.PNG
(14.78 KiB) Downloaded 2338 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Bitmap Ili9341!

Post 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

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Bitmap Ili9341!

Post by EtsDriver »

I personally use paint.net to do that! :) GIMP or similar might be good too.
Ill just keep the good work up!

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Bitmap Ili9341!

Post 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.
Attachments
SateliteP1.zip
(10.58 KiB) Downloaded 211 times

gdt
Posts: 71
Joined: Thu Aug 10, 2017 2:04 pm
Has thanked: 25 times
Been thanked: 36 times
Contact:

Re: Bitmap Ili9341!

Post 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.matrixtsl.com/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.
Attachments
ILI9341 Bitmap - 2.fcfx
(9.96 KiB) Downloaded 220 times
settings.png
(14.62 KiB) Downloaded 2277 times
Test.png
(32.6 KiB) Downloaded 2277 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Bitmap Ili9341!

Post 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.

Post Reply