Closed PaintYourDragon closed 5 years ago
you dont have a 3.5" tft breakout to test with?
I do, hence the “easily” part. Will dig it up if necessary, but I’m pretty sure this will automagically work, if it’s wired to the same pins as the PyPortal ILI9341 (and if not, SPITFT will need some tweaks).
ok will try tomorrow if i have time!
hmmm no success, please try it on a breadboard?
Don’t have hardware easily available to test on, but for example, should be able to start with existing HX8357 demo (e.g. graphicstest) and change out the constructor, e.g.:
Adafruit_HX8357 tft = Adafruit_HX8357(TFT_CS, TFT_DC, TFT_RST);
to:Adafruit_HX8357 tft = Adafruit_HX8357(tft8bitbus, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
TFT_D0, TFT_WR and TFT_DC must all be specified. Others args can be -1 or left off if unused.