Determine which element within a sensor has the largest response.
This function compares and normalizes the change in capacitance to
determine which element has the dominant response. The deltaCnt
values for each element that exceed the threshold are also
converted from a 'raw' measurement to a percentage of the maximum
response.
- Parameters
-
groupOfElements | Pointer to buttons to be scanned |
deltaCnt | Address to where the measurements are to be written |
- Returns
- result index to the element which is dominant