| CPC G06F 3/041661 (2019.05) [G01R 27/2605 (2013.01); G06F 3/044 (2013.01); H03M 1/12 (2013.01); H03M 1/14 (2013.01); H03M 1/48 (2013.01); G01D 5/24 (2013.01)] | 12 Claims |

|
1. A method for detecting a change in capacitance on a sensing electrode, the method comprising:
applying a signal to the sensing electrode;
comparing the signal on the sensing electrode to a reference signal;
if the signal on the sensing electrode is less than the reference signal, increasing the signal applied to the sensing electrode;
repeating the steps of applying the signal, comparing the signal, and increasing the signal until the signal is greater than the reference signal;
when the signal is greater than the reference signal, decreasing the signal applied to the sensing electrode;
if a toggle condition is not detected, repeating the steps of applying the signal, comparing the signal, increasing the signal, and decreasing the signal until a toggle condition is detected, wherein a toggle condition is detected when the signal has been greater than the reference signal more than once and less than the reference signal more than once; and
storing a first digital value representative of the signal at which the toggle condition is detected.
|