Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch on 2.8inch #74

Open
borkog opened this issue Dec 19, 2024 · 8 comments
Open

Touch on 2.8inch #74

borkog opened this issue Dec 19, 2024 · 8 comments

Comments

@borkog
Copy link

borkog commented Dec 19, 2024

Hi,
So I couldn't properly compile examples for 2.8inch T-RGB ... Touch does not get initialised properly because

(Other than using bool rslt = panel.begin(LILYGO_T_RGB_2_8_INCHES);)

LilyGo_RGBPanel.cpp is attempting to use TouchDrvCSTXXX() and when this fails, it just exits ... if you comment out everything before _touchDrv = new TouchDrvGT911(); it works just fine

so... please see what you can do

@lewisxhe
Copy link
Contributor

You purchased without touch?

@borkog
Copy link
Author

borkog commented Dec 19, 2024

No, it worked out of the box with factory sketch. When I compiled "factory" with my wifi ssid and pass touch didnt work.
I explained what I think the problem was

@lewisxhe
Copy link
Contributor

lewisxhe commented Dec 20, 2024

Provide the environment you are using, Arduino IDE or platformio?

If you use Arduino IDE, please tell me what version of esp32 core you are using?

@borkog
Copy link
Author

borkog commented Dec 26, 2024

Arduino IDE, don't know about esp32 core (how do I find out?)

@lewisxhe
Copy link
Contributor

image
You can see the version here. And after the compilation is completed, you will also have the version numbers of all dependent libraries displayed in the compilation log window

@borkog
Copy link
Author

borkog commented Dec 27, 2024

3.0.7 (I don't see 3.1.0 on the list)

@lewisxhe
Copy link
Contributor

lewisxhe commented Dec 30, 2024

Downgrading the dependent library can solve this problem. The latest version of SensorLib does have problems with this library. Please use the older version of SensorLib first.

Sketch -> Include Library -> Manage Libraries -> Search for SensorLib, install version greater than v0.2.3

@lewisxhe
Copy link
Contributor

The latest version of SensorLib will be pushed to the Arduino library manager tomorrow, v0.2.5 will solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants