esp32[h2]: Add qencoder defconfig

This commit is contained in:
Eren Terzioglu
2024-11-18 11:17:04 +01:00
committed by Alan C. Assis
parent 767c5f16f0
commit 58be435817
2 changed files with 68 additions and 0 deletions
@@ -202,6 +202,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
---