- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello There!
I've never dealt with CapSense slider widget. Now I'm trying to understand, is it normal behaviour of CapSense module or not. When I take out my finger from slider's surface the value becomes initial - 0xFF.
How can I prevent this? E.g. in software.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default, the CapSense slider widget returns Centroid position (slider value) as 0xFFFF when no touch is detected on the slider.
Below image is an excerpt from the CapSense Component datasheet:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh! Sorry. Forgot to say why I've posted in this topic.
I use PRoC BLE module with BLE Pioneer Kit 😃
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An excerpt from the Cypress example-project for CapSense slider shows
/*If finger is detected on the slider*/
if(sliderPosition != NO_FINGER)
{
/* If finger position on the slider is changed then update the LED color */
if(sliderPosition != lastPosition)
{
where NO_FINGER is #defined as 0xffff
This is probably something you've missed.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default, the CapSense slider widget returns Centroid position (slider value) as 0xFFFF when no touch is detected on the slider.
Below image is an excerpt from the CapSense Component datasheet: