Possible to modify scan framerate?



In the Arduino C API, I see that there’s a register for the scan framerate (SENSEL_REG_SCAN_FRAME_RATE). What’s the default value and is it possible to modify it?

Thank you for helping.


Hi amundsen,

Thanks for the message. I replied to your question on Github, but I wanted to reply here for completeness. Essentially, the framerate register sets the maximum allowable framerate for the sensor. By default, the sensor scans as fast as possible (value defaults to 2000 Hz). For an Arduino application, you can set the max framerate value lower so that you don’t get overwhelmed with touch data. The default scan resolution scans around 125-250Hz.