marekburiak / ILI9341_due

Arduino Due and AVR (Uno, Mega, Nano, Pro Mini,...) library for interfacing with ILI9341 SPI TFTs
http://marekburiak.github.io/ILI9341_due
98 stars 36 forks source link

ILI9488 #11

Open giacu92 opened 7 years ago

giacu92 commented 7 years ago

Hello, I successfully used ILI9341 standard Adafruit Library on a ILI9488 display. Unfortunately your library don't work whit the small corrections I found to adapt the standard library.

Any suggestions? Thank you!

marekburiak commented 7 years ago

Hey, I do not have a display with ILI9488 so I never tried to use it with the lib. I presume you have updated these:

define ILI9341_TFTWIDTH 240

define ILI9341_TFTHEIGHT 320

and if you're using the display with Due then also:

define SCANLINE_PIXEL_COUNT 320

I'd also try to reduce the SPI speed in ILI9341_due_config.h (ILI9341_SPI_CLKDIVIDER) and connect the RST pin (then use ILI9341_due(uint8_t cs, uint8_t dc, uint8_t rst) constructor). Other than that I am not sure what else would need to change :(