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

Replacing Adafruit's Touchscreen Library with A Different One #3

Open
backXslash opened this issue Feb 23, 2017 · 1 comment
Open

Comments

@backXslash
Copy link

I'd like to use your library for my project, but the TouchScreen library seems to be pretty deeply embedded, and I need to use Adafruit's FT6206 touchscreen library instead.

How would I go about that?

@ginge
Copy link
Owner

ginge commented Feb 25, 2017

a quick skim of the code that only gui.cpp is using the touchscreen driver. It has init and in

https://github.com/ginge/GuiLibrary/blob/master/Gui.cpp#L81

it gets the point. The above has ts pointer. You should be able to replicate this using your new library reasonably easily

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