zephyr/samples/sensor/qdec
Torsten Rasmussen 1cccc8a8fe cmake: increase minimal required version to 3.20.0
Move to CMake 3.20.0.

At the Toolchain WG it was decided to move to CMake 3.20.0.

The main reason for increasing CMake version is better toolchain
support.

Better toolchain support is added in the following CMake versions:
- armclang, CMake 3.15
- Intel oneAPI, CMake 3.20
- IAR, CMake 3.15 and 3.20

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-08-20 09:47:34 +02:00
..
boards
src
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
README.rst
prj.conf
sample.yaml

README.rst

.. _qdec:

QDEC: Quadrature Decoder
###########################

Overview
********
A simple quadrature decoder example

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

This project writes the quadrature decoder position to the console once every
2 seconds.

Building on SAM E70 Xplained board
==================================

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/qdec
   :host-os: unix
   :board: sam_e70_xplained
   :goals: build
   :compact:

Sample Output
=============

.. code-block:: console

    Quadrature Decoder sample application

    Position is 6
    Position is 12
    Position is -45

    <repeats endlessly every 2 seconds>