This display is specifically laid out for the Arduino Mega 2560, plugs directly on the board.
It has an onboard ILI9341 controller, for which FC9 has a component in the display library.
I got it to work in sim (which doesn't say a lot, I know), not on hardware.
One thing I am unsure about is the FC component connection dc_pin; I don't know what pin that is on the actual display.
So far all display pins are accounted for on the FC component except the RS pin, which I believe is Register Select.
So, the display RS pin has no connection in the FC component, while the FC component pin dc_pin has no pin on the display hardware.
I made the obvious test to assume dc_pin is the RS pin, but it still doesn't work.
Anybody has any idea how to resolve this?
Jan Didden
UNO/MEGA TRU Components graphic display w/touch
-
- Posts: 82
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
UNO/MEGA TRU Components graphic display w/touch
- Attachments
-
- tru components 2560 MEGA display.pdf
- (1.26 MiB) Downloaded 243 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: UNO/MEGA TRU Components graphic display w/touch
Hello Jan,
Yes the DC pin in Flowcode (Data/Command) is the same as the display RS (Register select) pin.
Can you send us your project file and I'll have a quick look at this to make sure nothing is wrong.
Does the display do anything? e.g. light up or do anything with any of the pixels at all?
Good news is I appear to have that exact same display here so I can test it with your project on a mega here.
Yes the DC pin in Flowcode (Data/Command) is the same as the display RS (Register select) pin.
Can you send us your project file and I'll have a quick look at this to make sure nothing is wrong.
Does the display do anything? e.g. light up or do anything with any of the pixels at all?
Good news is I appear to have that exact same display here so I can test it with your project on a mega here.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 82
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
Re: UNO/MEGA TRU Components graphic display w/touch
Good morning Ben,
Thanks for chiming in. The display does light up, no issues with power so I assume that the basic connections are OK. There's only one way this display can be plugged into the mega because of the clever spacing of the header sections. See pic.
The project is an extremely simple attempt to get the usual "Hello World"...
Jan
Thanks for chiming in. The display does light up, no issues with power so I assume that the basic connections are OK. There's only one way this display can be plugged into the mega because of the clever spacing of the header sections. See pic.
The project is an extremely simple attempt to get the usual "Hello World"...
Jan
- Attachments
-
- 2560 test.fcfx
- (10.57 KiB) Downloaded 419 times
-
- mega.jpg (101.83 KiB) Viewed 2912 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: UNO/MEGA TRU Components graphic display w/touch
Hello,
Working well for me now, you had your pin connections a little bit wrong, not surprising the ports on the mega are all over the place.
Took me a few attempts to get it right too
Working well for me now, you had your pin connections a little bit wrong, not surprising the ports on the mega are all over the place.
Took me a few attempts to get it right too

Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 82
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
Re: UNO/MEGA TRU Components graphic display w/touch
Thanks Ben - total success, yes. I had to figure out why I got an error message from AVRdude 'cannot open serial port com12' but I saw that the device was hanging off com5 and then discovered a setting in the Project Options to select the programmer.
Learning, learning, learning ...
Have a great day!
Jan
Learning, learning, learning ...
Have a great day!
Jan