mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
esp32c6-devkitc: Add Quadrature Encoder support and example configuration
Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
1fa4e61230
commit
c5be5c2db4
@@ -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
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user