-
Notifications
You must be signed in to change notification settings - Fork 212
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
isTouching method in TouchScreen.h not implemented in .cpp file #8
Comments
I made but the problem is LCD sharing touchscreen pins. It makes LCD go crazy. But I will take a look more to it and if I find a solution will post it later. |
Ok here is function which you need to add to your TouchScreen.cpp: bool TouchScreen::isTouching(void) {
} |
Have to say also that the pressure() function is not working at current state. It leaves output pins as input and makes LCD go crazy. It needs some serius repairs or movement to private function all to gether. Edit: I recon this will fix issues of TouchScreen leaving bad settings after done pressure function. I will create fork later and add all my fixes to it and make pull request. |
First thank you for fixing the isTouching method! :) "I recon this will fix issues of TouchScreen leaving bad settings after done pressure function. I will create fork later and add all my fixes to it and make pull request." Hello, did you already fix it? |
hey there I am using 4 wire touch controller made by Nkk switch serial # FTCU04B making project ball and plate balance with PID control we can't interface this controller with mega 2560 please let me know asap we have 2 weeks left |
… of pressureThreshold; fix issue adafruit#8 by implementing isTouching
… of pressureThreshold; fix issue adafruit#8 by implementing isTouching
I'm using platformio to manage my dependencies, can we get an implementation released officially? Thank you. /cc @ladyada |
@9ae8sdf76 submit a PR and we'll take a look |
@ladyada As much as I want to, I can't even get my screen calibrated - I can't be expected to write code for the library. :) To put it another way: it would take your team 5-10 minutes, while it might take me a day or two (with no guarantee of quality). |
@9ae8sdf76 please try! that way you'll get the exact function you'd like implemented. we have no ETA to work on this library |
There's a bool isTouching() method declared on TouchScreen, but it is not implemented.
Attempts to use it reuslt in:
undefined reference to "TouchScreen::isTouching()"
It looks like the unused pressureThreshhold member variable was intended as a cutoff for the implementation of isTouching().
The text was updated successfully, but these errors were encountered: