-
Notifications
You must be signed in to change notification settings - Fork 9
Library for reading from resistive touchscreens #2
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
Conversation
@jerryneedell @ATMakersOrg @TG-Techie hiya wanna try this library? |
sure -- looks like fun |
hooked up a PID333 https://www.adafruit.com/product/333 -- it's alive !
now to figure out whats x and whats y.... |
Sure. I'll test it when having access to a resistive touch screen / pyportal |
It says x2/y2 must be analog capable, but I get this error:
with this test:
It works if I use A1-A4 |
it think it will work well with: |
updated comments to clarify x- must also be analog (we use it for the pressure sensing |
I'm having some difficulty convincing myself the pins are handled correctly, but I'm not sure I have very clear documentation for the pins on my screen. https://www.adafruit.com/product/333 Are you convinced the pin mapping is correct? should I put more time into trying to reconcile it or just make it work? Once I get them connected in a way that makes sense, the library seems to be working fine. |
it doesnt actually matter which pins you use as long as they're connected in pairs. if you flip them around its the same as rotating the screen. |
@jerryneedell zis good to merge? if so plz do a review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I tested it with a touchscreen and once I got the pins in the right order, it seems to work well. Lots more to explore as far as function, like using the calibrations etc, but I think this is ok to merge and get out for wider test.
using just digital/analog i/o for lowest cost connection