Problem compiling Adafruit_TFTLCD

Hi
I have a 2.4" TFT LCD from mcufriend.com.
I can make it display a lot and I can read positions in separate programs.

I have look around and all points at adafruit-GFX & adafruit_TFTLCD so I have downloaded the newest versions from github.

When compiling "tftpaint_shield" I get an error:

Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

D:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Program Files (x86)\Arduino\hardware -tools D:\Program Files (x86)\Arduino\tools-builder -tools D:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries D:\Program Files (x86)\Arduino\libraries -libraries D:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10812 -build-path C:\Users\Bruger\AppData\Local\Temp\arduino_build_936038 -warnings=all -build-cache C:\Users\Bruger\AppData\Local\Temp\arduino_cache_226657 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -verbose D:\Program Files (x86)\Arduino\libraries\Adafruit_TFTLCD\examples\tftpaint_shield\tftpaint_shield.ino
loading libs from D:\Program Files (x86)\Arduino\libraries: loading library from D:\Program Files (x86)\Arduino\libraries\Adafruit_TFTLCD: loading library.properties: Error reading file (D:\Program Files (x86)\Arduino\libraries\Adafruit_TFTLCD\library.properties:6): Invalid line format, should be 'key=value'

Error compiling for board Arduino Uno.

I have tried loading different versions of Adafruit_TFTLCD but the same error turns up.

Any input?

Which controller is mounted on your 2.4 inch shield?

Adafruit_TFTLCD supports a small number of common controllers.

What do you want to do?
Several libraries inherit Adafruit_GFX which means that they can do everything that Adafruit_GFX can do.

David.

Hi David

I don't know which controller - after I ran into the problem, it is not possible to compile any programs that can ask for ID.

I would like to display some measurements on the display, and have a menu pop up when a button is pressed.

-Steen

If it is a 2.4 inch Mcufriend Uno shield, install MCUFRIEND_kbv and Adafruit_GFX via IDE Library Manager

This will tell you which controller you have got.

Then I can tell you if any versions of Adafruit_TFTLCD support your controller.

David.