-
#include "CirquePinnacle.h"
-
void PinnacleTouch::detectFingerStylus(bool enableFinger = true, bool enableStylus = true, uint16_t sampleRate = 100);
This function will configure the Pinnacle ASIC to detect either finger, stylus, or both.
Tip
Consider adjusting the ADC matrix’s gain to enhance performance/results using
setAdcGain()
.- Parameters:¶
- bool enableFinger = true¶
true
enables the Pinnacle ASIC’s measurements to detect if the touch event was caused by a finger or 5.25mm stylus.false
disables this feature. Default istrue
.- bool enableStylus = true¶
true
enables the Pinnacle ASIC’s measurements to detect if the touch event was caused by a 2mm stylus.false
disables this feature. Default istrue
.- uint16_t sampleRate = 100¶
See the setSampleRate() as this parameter directly calls that function.