Arduino Forum

Using Arduino => Displays => Topic started by: AliShrz13 on Nov 07, 2019, 12:19 pm

Title: FT810 Library without Touch panel
Post by: AliShrz13 on Nov 07, 2019, 12:19 pm
hello

excuse for my bad English i recently started to run 7" lcd with FT810 driver with arduino mega board and show some bitmaps and icons, so i tried to use gameduino library to run the lcd, problem is the library tries to calibrate touch panel at the beginning and i want to desible the touch configuration cause i don't want to use touch in this project, can anyone help me runing the code without using a touch ?

I'm using gd3.h library

thanks
Title: Re: FT810 Library without Touch panel
Post by: Impulsive on Nov 11, 2019, 07:33 am
I haven't tried using the GD2/GD3 library yet, but from a quick look at the gd2-lib library on GitHub I think you might be able to do either of the following:


Title: Re: FT810 Library without Touch panel
Post by: TFTLCDCyg on Nov 11, 2019, 03:08 pm
Inside of the GDx.h file of the gameduino library:

Set
Code: [Select]
#define GD_CALIBRATE    0   // enable touchscreen calibration at startup

In order to avoid the touch calibration in the startup of the TFT.