zephyr/samples/drivers/kscan_touch
Kumar Gala a1b77fd589 zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00
..
src zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt samples: drivers: kscan: Add sample for touch panel drivers 2020-04-24 09:49:46 -05:00
prj.conf samples: drivers: kscan: Add sample for touch panel drivers 2020-04-24 09:49:46 -05:00
README.rst samples: drivers: kscan: Add sample for touch panel drivers 2020-04-24 09:49:46 -05:00
sample.yaml samples: drivers: kscan: Add sample for touch panel drivers 2020-04-24 09:49:46 -05:00

.. kscan-sample:

KSCAN touch panel example
####################################

Overview
********

This sample demonstrates how to interface with a touch panel. When touches are
detected a log message is output on the console.

Building and Running
********************

The sample can be built and executed on boards with a touch panel for example
stm32f746g_disco or mimxrt1060_evk. The boards dts file should contain an alias
to kscan0

Sample output
=============

.. code-block:: console

   KSCAN test for touch panels.
   Note: You are expected to see several callbacks
   as you touch the screen.