Programming a TFT_LCD_ILI9341

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Billduck
Posts: 2
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 4:03 pm

Programming a TFT_LCD_ILI9341

Post by Billduck »

The attached program is an attempt to talk to a LCD / Touchscreen with an UNO.
While it simutales OK, I am not getting any response after compiling to the target. I suspect that there are some parameters within the board properties that are incorerect.
Attachments
TFT_LCD_ILI9341.fcfx
(11.11 KiB) Downloaded 295 times

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Re: Programming a TFT_LCD_ILI9341

Post by jgu1 »

Hi Billduck!

I have had a look at your testprogram and dare to change a little :D You have to set the settings for "solid and tranperrant" in settings.

Suppose the background is white and the color for the drawing is the same color you can´t see the line.
There are so many options to change all possible colors for background, foreground and transparency etc. in this display with FC9. Like me you have to try and try to get experience.
Really good display. Furthermore, if you use an ESP32 and SPI, Ben has speeded up the speed. lightning fast. ;)
If you are interested I can share some of my test/play program.

Br Jorgen
Attachments
Tranp.PNG
Tranp.PNG (4.45 KiB) Viewed 2792 times
TFT_LCD_ILI9341.fcfx
(11.08 KiB) Downloaded 247 times

Billduck
Posts: 2
Joined: Thu Dec 10, 2020 4:03 pm

Re: Programming a TFT_LCD_ILI9341

Post by Billduck »

Thanks for the look at.
I am very interested in the test/play program. Is that on the ESP32 and SPI?
By the way, for my application, I had to change to the MEGA, as with the UNO, there were no digital I/O pins availible.

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Re: Programming a TFT_LCD_ILI9341

Post by jgu1 »

Hi Bilduck!

Hereby as promised some examble. The BME280 uden_firkant is a project I made with a BME280, RTC. As on the picture.

Hope this can help you a bit foreward :lol: I spend lot of time with this display Working fine with Flowcode. And it is really fast with ESp32 SPI.

Sorry the picture is "up standing" turn your screen :lol:

Good luck

Jorgen
Attachments
IMG_4142.JPG
IMG_4142.JPG (48.1 KiB) Viewed 2767 times
BME280Ili9341uden fir_ 18f46k22 Intern.fcfx
(52.93 KiB) Downloaded 273 times
ESP32 ILI9341 BR (1).fcfx
(13.04 KiB) Downloaded 274 times

Post Reply