Ili9341

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jgu1
Posts: 698
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 585 times
Been thanked: 149 times

Ili9341

Post by jgu1 »

Hello again!

Also here in FC9 Ili9341 not working?

Br Jorgen
Attachments
Ili9341 Discovrey.fcfx
(11.56 KiB) Downloaded 374 times

Steve-Matrix
Matrix Staff
Posts: 1384
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 184 times
Been thanked: 322 times

Re: Ili9341

Post by Steve-Matrix »

Hi Jorgen,

It'll be easier to help with more details. For example:

In what way is it not working? Are there compilation errors? Is it in simulation or when downloading to the chip?

BenR
Matrix Staff
Posts: 1895
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 491 times
Been thanked: 664 times

Re: Ili9341

Post by BenR »

Hi Jorgen,

In Flowcode v9 we have changed the way fonts work. I'll make a video on it later today to try and help explain it.

In v8 and previous we had a single font and the font parameter was the scaler for that single font.

Now in v9 we have several different fonts you can choose to use in your program. In your program you only have font 0 selected and hence you need to use the value 0 for the font parameter.

You can no longer scale fonts but the fonts are all different sizes to let you pick a nice sized font for you application. The vertical size of each font is written at the end of the font name.

Fonts.jpg
Fonts.jpg (15.9 KiB) Viewed 6766 times

A font with the word Number in the text can only print numeric characters '0' to ''9' and a few other symbols such as '-', ':' to keep the ROM usage down when creating things like clocks or calculators etc with very large characters.

jgu1
Posts: 698
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 585 times
Been thanked: 149 times

Re: Ili9341

Post by jgu1 »

Well ok Ben! I did´n know. Will you please :roll: please make a small testprogram so I maybe can see the ligth :D

Thanks in advance

Jorgen

BenR
Matrix Staff
Posts: 1895
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 491 times
Been thanked: 664 times

Re: Ili9341

Post by BenR »

Hi Jorgen,

I've now made a short video here which hopefully should help explain things.

https://youtu.be/HN8EI64ADic

jgu1
Posts: 698
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 585 times
Been thanked: 149 times

Re: Ili9341

Post by jgu1 »

Hi Ben!

Thank you very much, I am very gratefull for the video, I see the new option concerning font´s. I will play with it and make some examble during the weekend and you hear.

Now I'm not going to bother you anymore, yeah ok, anyway, not until next time. :lol: But I hate when thing´s not work properly.

Br Jorgen

BenR
Matrix Staff
Posts: 1895
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 491 times
Been thanked: 664 times

Re: Ili9341

Post by BenR »

No Problem Jorgen, Keep the problems coming as you find them and we'll do our best to jump on them for you. :D

Post Reply