16-bit ILI9486 library

Hi, I got a 3.5” ILI9486 display witha 16-bit interface

http://www.lcdwiki.com/3.5inch_Arduino_Display-Mega2560

The problem is the library provided (see link) is pretty slow and only has one hardcoded font in an unkonwn format.

Is there please:

  1. Any other library that enables Adafruit-GFX on this controller?

  2. Any tool to change the font in the original library? I need some custom glyphs as I’m making an A-10C CDU.

I did fint this but i cant get it to work with my screen, i think this is for the 8-bit version? GitHub - ImpulseAdventure/Waveshare_ILI9486: Arduino library for Waveshare ILI9486 supporting the Waveshare 3.5" & 4" TFT Touch Shields for Arduino. Includes GFX-compatible API and touchscreen driver

Thanks for posting links.

I am sure that the LCDWIKI library will "work" but it is very badly spelled.

UTFT should work out of the box. i.e. just use the correct constructor:

// Remember to change the model parameter to suit your display module!
UTFT myGLCD(ILI9486,38,39,40,41);

UTFT is spelled correctly but has weird non-GFX style methods.

I suggest that you use Bodmer's TFT_HX8357.h library. Configure User_Setup.h for ILI9486. Not inherited from Adafruit_GFX but uses similar methods.

MCUFRIEND_kbv requires some library editing but is genuine Adafruit_GFX
i.e. edit USE_SPECIAL, USE_MEGA_16BIT_SHIELD as a one-off.
use tft.begin(0x9886); in every sketch.

Adafruit_TFTLCD.h should work with ILI9486 on MEGA2560 but I have never tried it.

I advise you to avoid any libraries intended for Waveshare abortions.

It is simple to use FreeFonts with any Adafruit_GFX library.

David.

Bodmer's TFT_HX8357.h worked right out the box, also a lot faster than the lcdwiki library. Thanks again for the help.

Bodmer has good libraries with excellent examples.

Wait until you use his TFT_eSPI library with SPI and 8080-8 displays. (for ESP8266, ESP32, STM32, RP2040 Pico)

I wish i could but DCS-BIOS only runs on avr. I think?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.