- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
When I press button.
I want to read Capsense finger signal value and output to another software .
Which is finger signal in capsense data structure ?
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdamCheng,
You can read the CapSense raw counts or difference counts (diff counts is the signal level that you see when touched. It is 0 when not touched and raw - baseline when touched) by using the CapSense_GetParam API. This returns the values and the param ID can be found in CapSense_RegisterMap.h file.
You can also read the value directly from the data structure. It is present in the following location -
CapSense_dsRam.snsList.<wdgtid>[0u].raw[0u]
CapSense_dsRam.snsList.<wdgtid>[0u].diff
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdamCheng,
You can read the CapSense raw counts or difference counts (diff counts is the signal level that you see when touched. It is 0 when not touched and raw - baseline when touched) by using the CapSense_GetParam API. This returns the values and the param ID can be found in CapSense_RegisterMap.h file.
You can also read the value directly from the data structure. It is present in the following location -
CapSense_dsRam.snsList.<wdgtid>[0u].raw[0u]
CapSense_dsRam.snsList.<wdgtid>[0u].diff
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Hari,
Thank you for the information.