esp32c6-devkitc: Add Quadrature Encoder support and example configuration

Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com>
This commit is contained in:
Martin Vajnar
2024-09-12 12:55:00 +02:00
committed by Xiang Xiao
parent 1fa4e61230
commit c5be5c2db4
6 changed files with 257 additions and 0 deletions
@@ -194,6 +194,16 @@ To test it, just execute the ``pwm`` application::
pwm_main: starting output with frequency: 10000 duty: 00008000
pwm_main: stopping output
qencoder
---
This configuration demostrates the use of Quadrature Encoder connected to pins
GPIO10 and GPIO11. You can start measurement of pulses using the following
command (by default, it will open ``\dev\qe0`` device and print 20 samples
using 1 second delay)::
nsh> qe
rmt
---