XraymanMoldova has asked this same question in several different threads and even as a PM.
He asked it on this thread too. And deleted the question after I replied. So I am editing my post to show the context.
i use tft lcd with SPFD5408 driver and library from JoaoLopesF
The question is how could I change the control pins to an arduino mega so DBO-DB7 be controlled by port A instead of PH4 PH3 PB7 PG5 PB5 PB4 PH6 PH5 to be PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 (one contiguous PORT), CS, WR,CD,CS remain on port F
Ask JoaoLopesF about his library.
If you install MCUFRIEND_kbv library via the IDE Library Manager:
- read instructions in extras/mcufriend_how_to.txt
- use USE_MEGA_8BIT_PROTOSHIELD and USE_SPECIAL
Edit. Added context and quote.
DO NOT PM WITH QUESTIONS. Always ask on the Public Forum.
If you want to post the same question in a more appropriate thread or topic PLEASE SAY SO. Post a link to the original question. Edit the original question to give a link to your "preferred" message thread.
PMs and Duplicate messages are annoying.