-
Notifications
You must be signed in to change notification settings - Fork 8
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 and Hold to register a touch #2
Comments
Afraid not! This library was only put together to test whether the CAP1298 was suitable for something I was working on - it wasn't. I didn't take it any further than I needed to, so most functionality is not implemented. That said, you should be able to enable repeats with register CAP1298_RPTRATEENABLE (0x28), then fine tune the hold/repeat times in registers CAP1298_SENSINPUTCONFIG1 (0x22) and CAP1298_CONFIG2 (0x44). This is briefly described in section 4.9.2 of the datasheet. I'd be happy to put together an example and modify the library to support touch and hold configuration - but it may have to wait a while! |
Thank you for your fast response. Very much appreciate if you update the library and samples. Many thanks!! |
Yep, I'd believe you need to use interrupt. |
Hi Chris Here is what I am doing but I am not getting the ALERT interrupt: Q1: Why am I not getting any interrupt? Q2: If I receive the interrupt, do I check the status at 0x03 (CAP1298_SENSTATUS) ? |
Hi LiveRock, Unfortunately my CAP1298 is no longer responding, so I won't be able to further troubleshoot or adapt the existing code. With regards to your questions: Chris |
Thank you Chris. Let me spend a bit of time to figure it out. |
Hi
Do you have a sample to implement a 'Touch and Hold' to register a touch?
The docs say check out:
The press and hold is controlled via a register:
https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/00001571B.pdf
Any tips?
The text was updated successfully, but these errors were encountered: