mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 08:33:34 +08:00
Improved thresholding logic in the STMPE11 driver; NxWM: Oops minimizing wrong application
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4737 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -4730,6 +4730,15 @@ build
|
||||
<code>CONFIG_STMPE11_REGDEBUG</code>:
|
||||
Enabled very low register-level debug output. Requires <code>CONFIG_DEBUG</code>.
|
||||
</li>
|
||||
<li>
|
||||
<code>CONFIG_STMPE11_THRESHX</code> and <code>CONFIG_STMPE11_THRESHY</code>:
|
||||
STMPE11 touchscreen data comes in a a very high rate. New touch positions
|
||||
will only be reported when the X or Y data changes by these thresholds.
|
||||
This trades reduces data rate for some loss in dragging accuracy. The
|
||||
STMPE11 is configure for 12-bit values so the raw ranges are 0-4095. So
|
||||
for example, if your display is 320x240, then THRESHX=13 and THRESHY=17
|
||||
would correspond to one pixel. Default: 12
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Analog Devices</h3>
|
||||
|
||||
Reference in New Issue
Block a user