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 controller support. #11

Open
andrewleek opened this issue May 3, 2023 · 1 comment
Open

Touch controller support. #11

andrewleek opened this issue May 3, 2023 · 1 comment

Comments

@andrewleek
Copy link

Greetings,

I was wondering about touch controller support, specifically for the XPT2046.

I see that there are some touch functions outlined in the bb_spi_lcd.h file, but they have no implementations at the moment.

I know that i could use a third party library for just the touch handling, but I am very tight on free pins, so I was hoping to have the touch controller share the same pins as the lcd (aside from the CS pin of course).

I have attempted to do something similar to how TFT_eSPI implements this, but so far I havent had any success. Could you guide me a bit on this issue? How would one go about implementing device switching and clock speed changing while using the DMA. Btw, I am using an esp32-cam.

Many thanks for this library and all your work with it and JPEGDEC.

@bitbank2
Copy link
Owner

bitbank2 commented May 3, 2023

I removed the touch support a while ago because I was trying to shrink the code to still fit on the ATmega328. I didn't add it back because it seemed like an unnecessary part of this library. I just went looking for it and couldn't find it. If you can do a PR to add it back, I'll accept it.

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