Using GPIO for both control and display.

Having trouble with your GBZ build? Ask your questions here!
Post Reply
HEssential
Posts: 5
Joined: Thu Apr 19, 2018 12:56 pm
Been thanked: 1 time

Using GPIO for both control and display.

Post by HEssential » Thu Apr 19, 2018 1:01 pm

I wonder if it's possible to use the GPIOs for both all the controls and a display, because I seem to have purchased this:

https://www.ebay.co.uk/itm/7-TFT-LCD-To ... 2749.l2649 which I think is designed as an Arduino shield?

Any help would be great! This is my first electronigs and GBZ project so if anything I'll purchase a BW screen which might make things simpler.

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: Using GPIO for both control and display.

Post by wermy » Thu Apr 19, 2018 1:12 pm

Yes it's possible. That's what we're doing on the mintyPi. :)
ImageImageImageImage

HEssential
Posts: 5
Joined: Thu Apr 19, 2018 12:56 pm
Been thanked: 1 time

Re: Using GPIO for both control and display.

Post by HEssential » Thu Apr 19, 2018 1:50 pm

I can only find one library for the spfd5408 controller which is aimed at Arduino boards ;/

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: Using GPIO for both control and display.

Post by wermy » Thu Apr 19, 2018 2:02 pm

I'm not sure about that particular chip, but if you're using something like an ILI9341 there are enough pins for both the screen and an SNES-style button layout.
ImageImageImageImage

HEssential
Posts: 5
Joined: Thu Apr 19, 2018 12:56 pm
Been thanked: 1 time

Re: Using GPIO for both control and display.

Post by HEssential » Thu Apr 19, 2018 2:06 pm

I will look at any supplementary documentation that comes with it to see if it's manageable, otherwise my student loan comes in next week so might as well get a new display :) Thanks for your input!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest