FAQ

Hello.How to on/off the backlight?2.2”TFT LCD Display V1.0 (SPI Interface)

userHead JaneYu 2019-04-24 14:09:45 11 Views12 Replies

Hello.

How to on/off the backlight?
2.2”TFT LCD Display V1.0 (SPI Interface)

2021-10-01 02:03:07

Is there support for setRotation? It doesn't appear to work on its own (I fixed the spelling inconsistencies in the library so it would run, and confirmed it is setting eRotation how it supposed to. At this point, I don't know enough to proceed. Did the hardware ever support rotating the image/text?

Thanks

userHeadPic JaneYu
2020-12-14 00:52:44

There are typos in the DFRobot_ST7687S and DFRobo_Display libraries. For example, virtual int16_t setRotaion(eROTATION ratotion); should be setRotation and the variable should be rotation. Not a problem for the 1794 display since it ignores these. -Frank

userHeadPic JaneYu
JaneYu wrote:

Hi, were you able to get setRotation to work after fixing these? I found the misspellings, but it doesn't seem to do anything and I'm wondering where to go from here if it's missing hardware support.

2021-10-01 02:35:48
1 Replies
2020-12-12 13:08:31

Trying to get the module to work on an ESP32 development board? Here are the connections. The left are the Uno connections, and the right are the ESP32 dev board connections.

Uno - ESP32
5v - VCC - pin 19
gnd - gnd - pin 38

a11 mosi - spi mosi - gpio 23 - pin 37
a13 sck - spi s cl - gpio 18 - pin 30
a6 - wr - gpio - adc1 ch4 - gpio 32 - pin 7
a3 int1 - cs - adc1 ch5 - gpio 33 - pin 8
a5 - rs - adc2 ch8 - gpio 25 - pin 9
a7 - lck - adc2 ch9 - gpio 26 - pin 10

and in the Arduino IDE sketch use:
uint8_t pin_cs = 33, pin_rs = 25, pin_wr = 32, pin_lck = 26;

-Frank

userHeadPic JaneYu
2020-12-11 15:12:06

Is there an example of reading from the touch sensor? -Frank

userHeadPic JaneYu
JaneYu wrote:

I'll answer my own question: TFT = Thin Film Transistor and not Touch sensor. There is no touch input.

2020-12-12 02:28:57
1 Replies
2020-05-15 13:52:33

I used the reference code in the wiki to create two triangles on the display. I want to move them around on the x-axis of the screen. I their a way for me to do that using the rotary encoder to control them. i want to be able to create a diamond out of the two triangles by using the rotary encoder to move them left and right. How would i code that?

userHeadPic JaneYu
2019-12-08 06:33:21

how do you set line lengths and angles.
the bit mapping says its to big for arduino uno

userHeadPic JaneYu
JaneYu wrote:

Hi,
You can find what you want in these two libraries.
ST7687S Library
DFRobot-Display Library

2019-12-09 10:05:45
1 Replies
2019-09-25 14:59:45

Hello :D
Are there any wiring help documents for an esp32 or a esp8266?
In the Wiki there is an example which suggests to use an esp32 because of the lack of enough memory on the uno.
I tried it myself but unfortunately did not get it working.

Thanks

userHeadPic JaneYu
JaneYu wrote:

Unfortunately we do not have pictures for this readily available. You can email [email protected] with a picture of your setup and they can help trouble shoot you through this process. Thanks!

2019-09-25 15:31:40
1 Replies