-
#include "CirquePinnacle.h" -
void PinnacleTouch::setSampleRate(uint16_t value);
This function controls how many samples (of data) per second are taken. This function only applies to
PINNACLE_RELATIVEorPINNACLE_ABSOLUTEmode, otherwise ifsetDataMode()is givenPINNACLE_ANYMEAS, then this function will do nothing.- Parameters¶
- uint16_t value¶
Valid input values are
100,80,60,40,20,10. Any other input values automatically set the sample rate to 100 sps (samples per second). Optionally,200and300sps can be specified, but using these optional values automatically disables palm (referred to as “NERD” in the specification sheet) and noise compensations. These higher values are meant for using a stylus with a 2mm diameter tip, while the values less than 200 are meant for a finger or stylus with a 5.25mm diameter tip.