adafruit / Adafruit_HX8357_Library

Arduino library for HX8357
43 stars 37 forks source link

Add parallel constructor, fix some typos #32

Closed PaintYourDragon closed 5 years ago

PaintYourDragon commented 5 years ago

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.

ladyada commented 5 years ago

you dont have a 3.5" tft breakout to test with?

PaintYourDragon commented 5 years ago

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).

ladyada commented 5 years ago

ok will try tomorrow if i have time!

ladyada commented 5 years ago

hmmm no success, please try it on a breadboard?