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

west build -b sam_e70_xplained samples/sensor/qdec

Sample Output

Quadrature Decoder sample application

Position is 6
Position is 12
Position is -45

<repeats endlessly every 2 seconds>